Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 109.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.138/1.138, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1742/0.1742, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.798e-06/9.808e-06, allocations: 2.281 kB / 481.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001017/0.001034, allocations: 0.5131 MB / 482.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.003293, allocations: 2.027 MB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.155e-05/0.003317, allocations: 4 kB / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.003334, allocations: 0 / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.047e-06/0.003343, allocations: 0 / 484.4 MB, free: 1.57 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.004413, allocations: 498.1 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.811e-05/0.004459, allocations: 4 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.892e-05/0.004493, allocations: 0 / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.131e-05/0.004509, allocations: 0 / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.531e-05/0.004529, allocations: 4 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.004538, allocations: 0 / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.005265, allocations: 0.6161 MB / 485.6 MB, free: 472 kB / 350.1 MB Notification: Performance of combineBinaries: time 1.857e-05/0.005294, allocations: 7.922 kB / 485.6 MB, free: 464 kB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.833e-06/0.005301, allocations: 3.906 kB / 485.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.129e-05/0.005316, allocations: 4 kB / 485.6 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 5.4e-06/0.005326, allocations: 0 / 485.6 MB, free: 456 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0002087/0.005539, allocations: 157.4 kB / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of FunctionAlias: time 9.948e-06/0.005554, allocations: 3.953 kB / 485.7 MB, free: 192 kB / 350.1 MB Notification: Performance of Early Inline: time 5.886e-05/0.005617, allocations: 52.36 kB / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of simplify1: time 1.312e-06/0.005624, allocations: 0 / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of Alias: time 4.21e-05/0.00567, allocations: 64.55 kB / 485.8 MB, free: 8 kB / 350.1 MB Notification: Performance of simplify2: time 6.21e-07/0.005676, allocations: 0 / 485.8 MB, free: 8 kB / 350.1 MB Notification: Performance of Events: time 9.748e-06/0.005689, allocations: 0 / 485.8 MB, free: 8 kB / 350.1 MB Notification: Performance of Detect States: time 5.625e-05/0.005749, allocations: 32.95 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Partitioning: time 4.421e-05/0.0058, allocations: 12.12 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Causalize: time 7.8e-05/0.005883, allocations: 32.09 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 3.581e-05/0.005925, allocations: 52.48 kB / 486 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Inline: time 6.127e-05/0.005994, allocations: 68.5 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Partitioning: time 1.437e-05/0.006015, allocations: 8.125 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Cleanup: time 6.823e-06/0.006026, allocations: 3.984 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Causalize: time 4.346e-05/0.006074, allocations: 28.06 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Tearing: time 7.113e-06/0.006088, allocations: 4.125 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Initialization: time 3.4e-07/0.006093, allocations: 4 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Tearing: time 8.41e-07/0.006098, allocations: 0 / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Categorize: time 4.608e-06/0.006108, allocations: 3.938 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Solve: time 1.308e-05/0.006125, allocations: 7.984 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Jacobian: time 3.166e-06/0.006132, allocations: 3.984 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {result} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.062e-05/0.006156, allocations: 9.828 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 0.001146/0.007308, allocations: 1.202 MB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Templates: time 0.004885/0.0122, allocations: 3.085 MB / 490.4 MB, free: 11.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Math_Random_TestSpecial -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.o ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Math_Random_TestSpecial -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.o ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:98:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _P); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:101:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _Q); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:287:53: error: use of undeclared identifier '_OMC_LIT5' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT5)); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:427:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:430:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:434:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _P2); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:437:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _Q2); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:441:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P3); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:444:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q3); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:448:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _P4); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:451:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _Q4); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:455:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _P5); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:458:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _Q5); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:462:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _P6); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:465:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _Q6); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:469:24: error: use of undeclared identifier '_OMC_LIT18' real_array_copy_data(_OMC_LIT18, _P7); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:472:24: error: use of undeclared identifier '_OMC_LIT19' real_array_copy_data(_OMC_LIT19, _Q7); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:620:24: error: use of undeclared identifier '_OMC_LIT20' real_array_copy_data(_OMC_LIT20, _P1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.c:623:24: error: use of undeclared identifier '_OMC_LIT21' real_array_copy_data(_OMC_LIT21, _Q1); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_functions.o] Error 1