Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009056/0.0009057, allocations: 110.7 kB / 18.47 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008684/0.0008685, allocations: 189.3 kB / 19.39 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1708/0.1708, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.681e-05, allocations: 5.234 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001087/0.001111, allocations: 0.4934 MB / 471.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.003432, allocations: 1.996 MB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.249e-05/0.003455, allocations: 0 / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.003481, allocations: 7.938 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-06/0.00349, allocations: 0 / 473.6 MB, free: 10.71 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001192/0.004697, allocations: 497.9 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.918e-05/0.004744, allocations: 0 / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.004783, allocations: 7.875 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.189e-05/0.004801, allocations: 4 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.405e-05/0.004819, allocations: 0 / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.004831, allocations: 3.984 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007255/0.005561, allocations: 0.5928 MB / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.963e-05/0.005593, allocations: 11.92 kB / 474.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.394e-06/0.0056, allocations: 3.906 kB / 474.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.859e-06/0.005614, allocations: 0 / 474.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.382e-06/0.005625, allocations: 0 / 474.8 MB, free: 9.605 MB / 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.0002186/0.005848, allocations: 153.5 kB / 474.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.004e-05/0.005863, allocations: 3.938 kB / 474.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Early Inline: time 6.82e-05/0.005936, allocations: 60.31 kB / 475 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simplify1: time 1.643e-06/0.005943, allocations: 3.938 kB / 475 MB, free: 9.262 MB / 350.1 MB Notification: Performance of Alias: time 4.043e-05/0.005987, allocations: 48.62 kB / 475 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simplify2: time 6.01e-07/0.005993, allocations: 0 / 475 MB, free: 9.176 MB / 350.1 MB Notification: Performance of Events: time 1.108e-05/0.006009, allocations: 8 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Detect States: time 4.896e-05/0.006063, allocations: 34.84 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of Partitioning: time 3.939e-05/0.006108, allocations: 16.11 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of Causalize: time 7.907e-05/0.006193, allocations: 16.12 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.706e-05/0.006247, allocations: 52.36 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Inline: time 6.407e-05/0.006316, allocations: 68.67 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of Partitioning: time 8.556e-06/0.006331, allocations: 12.06 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of Cleanup: time 7.213e-06/0.006342, allocations: 4 kB / 475.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Causalize: time 4.762e-05/0.006394, allocations: 36.03 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of Tearing: time 6.111e-06/0.006407, allocations: 0 / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of Initialization: time 3.6e-07/0.006412, allocations: 0 / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of Tearing: time 2.214e-06/0.006417, allocations: 3.938 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Categorize: time 5.43e-06/0.006436, allocations: 8.188 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of Solve: time 1.007e-05/0.00645, allocations: 0 / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of Jacobian: time 2.084e-06/0.006456, allocations: 0 / 475.3 MB, free: 8.816 MB / 350.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.435e-05/0.006484, allocations: 17.2 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of SimCode: time 0.001242/0.007731, allocations: 1.199 MB / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Templates: time 0.004972/0.01271, allocations: 2.948 MB / 479.4 MB, free: 4.648 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.makefile make -j1 -f ModelicaTest_4.0.0_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 4.0.0+maint.om/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_4_0_0_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_4.0.0_ModelicaTest.Math.Random.TestSpecial.o ModelicaTest_4.0.0_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 4.0.0+maint.om/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_4_0_0_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_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:28:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:31:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:217:53: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:359:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _P1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:362:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _Q1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:366:24: error: use of undeclared identifier '_OMC_LIT5' real_array_copy_data(_OMC_LIT5, _P2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:369:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _Q2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:373:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _P3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:376:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _Q3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:380:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _P4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:383:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _Q4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:387:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _P5); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:390:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _Q5); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:394:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _P6); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:397:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _Q6); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:401:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _P7); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:404:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _Q7); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:562:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _P1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.c:565:24: error: use of undeclared identifier '_OMC_LIT18' real_array_copy_data(_OMC_LIT18, _Q1); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_functions.o] Error 1