==2448== Memcheck, a memory error detector ==2448== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==2448== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info ==2448== Command: ./Random.TestRandom ==2448== ==2448== Conditional jump or move depends on uninitialised value(s) ==2448== at 0x4E7B141: base_array_ok (base_array.c:76) ==2448== by 0x4E904C3: copy_real_array_data (real_array.c:98) ==2448== by 0x407411: omc_Random_normalvariate (Random.TestRandom_functions.c:70) ==2448== by 0x40676D: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:143) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== ==2448== Conditional jump or move depends on uninitialised value(s) ==2448== at 0x4E7B193: base_array_ok (base_array.c:80) ==2448== by 0x4E904C3: copy_real_array_data (real_array.c:98) ==2448== by 0x407411: omc_Random_normalvariate (Random.TestRandom_functions.c:70) ==2448== by 0x40676D: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:143) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== ==2448== Conditional jump or move depends on uninitialised value(s) ==2448== at 0x4E7B264: base_array_ok (base_array.c:84) ==2448== by 0x4E904C3: copy_real_array_data (real_array.c:98) ==2448== by 0x407411: omc_Random_normalvariate (Random.TestRandom_functions.c:70) ==2448== by 0x40676D: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:143) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== ==2448== Use of uninitialised value of size 8 ==2448== at 0x4E7B1F8: base_array_ok (base_array.c:85) ==2448== by 0x4E904C3: copy_real_array_data (real_array.c:98) ==2448== by 0x407411: omc_Random_normalvariate (Random.TestRandom_functions.c:70) ==2448== by 0x40676D: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:143) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== ==2448== Conditional jump or move depends on uninitialised value(s) ==2448== at 0x4E7B53F: base_array_shape_eq (base_array.c:143) ==2448== by 0x4E904F6: copy_real_array_data (real_array.c:99) ==2448== by 0x407411: omc_Random_normalvariate (Random.TestRandom_functions.c:70) ==2448== by 0x40676D: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:143) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== ==2448== Use of uninitialised value of size 8 ==2448== at 0x4E7B5B1: base_array_shape_eq (base_array.c:149) ==2448== by 0x4E904F6: copy_real_array_data (real_array.c:99) ==2448== by 0x407411: omc_Random_normalvariate (Random.TestRandom_functions.c:70) ==2448== by 0x40676D: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:143) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== ==2448== Use of uninitialised value of size 8 ==2448== at 0x4E901E9: real_set (real_array.c:52) ==2448== by 0x4E9057F: copy_real_array_data (real_array.c:104) ==2448== by 0x407411: omc_Random_normalvariate (Random.TestRandom_functions.c:70) ==2448== by 0x40676D: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:143) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== ==2448== Conditional jump or move depends on uninitialised value(s) ==2448== at 0x4E7B141: base_array_ok (base_array.c:76) ==2448== by 0x4E905B5: copy_real_array_data_mem (real_array.c:112) ==2448== by 0x40679E: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:144) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== by 0x406CFE: main (Random.TestRandom.c:372) ==2448== ==2448== Conditional jump or move depends on uninitialised value(s) ==2448== at 0x4E7B193: base_array_ok (base_array.c:80) ==2448== by 0x4E905B5: copy_real_array_data_mem (real_array.c:112) ==2448== by 0x40679E: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:144) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== by 0x406CFE: main (Random.TestRandom.c:372) ==2448== ==2448== Conditional jump or move depends on uninitialised value(s) ==2448== at 0x4E7B264: base_array_ok (base_array.c:84) ==2448== by 0x4E905B5: copy_real_array_data_mem (real_array.c:112) ==2448== by 0x40679E: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:144) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== by 0x406CFE: main (Random.TestRandom.c:372) ==2448== ==2448== Use of uninitialised value of size 8 ==2448== at 0x4E7B1F8: base_array_ok (base_array.c:85) ==2448== by 0x4E905B5: copy_real_array_data_mem (real_array.c:112) ==2448== by 0x40679E: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:144) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== by 0x406CFE: main (Random.TestRandom.c:372) ==2448== ==2448== Conditional jump or move depends on uninitialised value(s) ==2448== at 0x4E900DF: base_array_nr_of_elements (base_array.h:60) ==2448== by 0x4E905F7: copy_real_array_data_mem (real_array.c:114) ==2448== by 0x40679E: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:144) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== by 0x406CFE: main (Random.TestRandom.c:372) ==2448== ==2448== Use of uninitialised value of size 8 ==2448== at 0x4E900C6: base_array_nr_of_elements (base_array.h:61) ==2448== by 0x4E905F7: copy_real_array_data_mem (real_array.c:114) ==2448== by 0x40679E: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:144) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== by 0x406CFE: main (Random.TestRandom.c:372) ==2448== ==2448== Use of uninitialised value of size 8 ==2448== at 0x4E90127: real_get (real_array.h:44) ==2448== by 0x4E9063A: copy_real_array_data_mem (real_array.c:117) ==2448== by 0x40679E: Random_TestRandom_eqFunction_12 (Random.TestRandom.c:144) ==2448== by 0x40681C: Random_TestRandom_functionDAE (Random.TestRandom.c:165) ==2448== by 0x4EB5C22: updateDiscreteSystem (model_help.c:81) ==2448== by 0x4EAF16A: handleEvents (events.c:294) ==2448== by 0x40561C: Random_TestRandom_performSimulation (perform_simulation.c:211) ==2448== by 0x4EC657B: solver_main (solver_main.c:657) ==2448== by 0x4F10FB2: callSolver (simulation_runtime.cpp:684) ==2448== by 0x4F1015B: startNonInteractiveSimulation (simulation_runtime.cpp:528) ==2448== by 0x4F11DD5: _main_SimulationRuntime (simulation_runtime.cpp:884) ==2448== by 0x406CFE: main (Random.TestRandom.c:372) ==2448== ==2448== ==2448== HEAP SUMMARY: ==2448== in use at exit: 33,720 bytes in 35 blocks ==2448== total heap usage: 1,274 allocs, 1,239 frees, 128,922 bytes allocated ==2448== ==2448== LEAK SUMMARY: ==2448== definitely lost: 8,216 bytes in 2 blocks ==2448== indirectly lost: 0 bytes in 0 blocks ==2448== possibly lost: 3,344 bytes in 11 blocks ==2448== still reachable: 22,160 bytes in 22 blocks ==2448== suppressed: 0 bytes in 0 blocks ==2448== Rerun with --leak-check=full to see details of leaked memory ==2448== ==2448== For counts of detected and suppressed errors, rerun with: -v ==2448== Use --track-origins=yes to see where uninitialised values come from ==2448== ERROR SUMMARY: 231 errors from 14 contexts (suppressed: 826 from 29)