Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 111 kB / 18.47 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 213.1 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.153/1.153, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.174/0.174, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.006e-05, allocations: 2.281 kB / 481.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0009499/0.000969, allocations: 0.5119 MB / 482.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.003562, allocations: 2.362 MB / 484.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.067e-05/0.003585, allocations: 4 kB / 484.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.003602, allocations: 0 / 484.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.917e-06/0.00361, allocations: 0 / 484.8 MB, free: 1.27 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:1098:5-1194:31:writable] Warning: Pure function 'ModelicaTest.Math.Random.truncatedDistributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.004774, allocations: 0.56 MB / 485.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.862e-05/0.004821, allocations: 11.97 kB / 485.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.94e-05/0.004855, allocations: 4 kB / 485.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.081e-05/0.004872, allocations: 4 kB / 485.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.371e-05/0.004889, allocations: 0 / 485.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-06/0.004898, allocations: 3.938 kB / 485.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/0.005804, allocations: 0.6981 MB / 486.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.513e-05/0.00583, allocations: 0 / 486.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.154e-06/0.005837, allocations: 3.906 kB / 486.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-06/0.005849, allocations: 0 / 486.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.59e-06/0.005858, allocations: 0 / 486.1 MB, free: 15.98 MB / 366.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.0002124/0.006077, allocations: 173.4 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FunctionAlias: time 8.946e-06/0.006093, allocations: 11.89 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Early Inline: time 5.57e-05/0.006153, allocations: 48.38 kB / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplify1: time 1.603e-06/0.006161, allocations: 0 / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Alias: time 5.127e-05/0.006216, allocations: 52.61 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simplify2: time 5.91e-07/0.006221, allocations: 0 / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Events: time 1.1e-05/0.006236, allocations: 3.984 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Detect States: time 4.101e-05/0.006282, allocations: 32.14 kB / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Partitioning: time 3.636e-05/0.006327, allocations: 20.12 kB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Causalize: time 7.038e-05/0.006403, allocations: 20.05 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 3.768e-05/0.006447, allocations: 56.34 kB / 486.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Inline: time 6.623e-05/0.006518, allocations: 60.5 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Partitioning: time 8.556e-06/0.006533, allocations: 12.31 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Cleanup: time 1.375e-05/0.006553, allocations: 4 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Causalize: time 4.371e-05/0.006601, allocations: 32.05 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Tearing: time 5.881e-06/0.006614, allocations: 0 / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Initialization: time 3.01e-07/0.006619, allocations: 0 / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Tearing: time 1.032e-06/0.006623, allocations: 0 / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Categorize: time 4.689e-06/0.006633, allocations: 4 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Solve: time 1.223e-05/0.006649, allocations: 3.984 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Jacobian: time 2.054e-06/0.006655, allocations: 0 / 486.6 MB, free: 15.19 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.217e-05/0.006682, allocations: 21.95 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of SimCode: time 0.001255/0.007941, allocations: 1.294 MB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005239/0.01319, allocations: 3.401 MB / 491.3 MB, free: 10.46 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.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_TestTruncatedDistributions -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.TestTruncatedDistributions.o ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.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_TestTruncatedDistributions -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.TestTruncatedDistributions_functions.o ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:795:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:798:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:963:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _P1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:966:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _Q1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:970:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _P2); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:973:24: error: use of undeclared identifier '_OMC_LIT5' real_array_copy_data(_OMC_LIT5, _Q2); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:977:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P3); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:980:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q3); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:984:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _P4); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:987:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _Q4); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:991:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P5); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:994:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q5); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:998:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _P6); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1001:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _Q6); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1005:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _P7); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1008:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _Q7); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1156:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _P1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1159:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _Q1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1163:24: error: use of undeclared identifier '_OMC_LIT18' real_array_copy_data(_OMC_LIT18, _P2); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.o] Error 1