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.001249/0.001249, allocations: 107.2 kB / 18.46 MB, free: 4.594 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.001355/0.001355, allocations: 179.8 kB / 19.39 MB, free: 3.672 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.403/1.403, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2115/0.2115, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/1.901e-05, allocations: 2.281 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001245/0.001274, allocations: 0.4925 MB / 471.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.00375, allocations: 1.996 MB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.24e-05/0.003774, allocations: 0 / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.003794, allocations: 7.938 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.857e-06/0.003802, allocations: 0 / 473.7 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.001243/0.005056, allocations: 0.4897 MB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.872e-05/0.005103, allocations: 0 / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.041e-05/0.005139, allocations: 0 / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.247e-05/0.005156, allocations: 7.938 kB / 474.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.361e-05/0.005175, allocations: 0 / 474.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-06/0.005184, allocations: 0 / 474.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008031/0.005991, allocations: 0.5928 MB / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.303e-05/0.006025, allocations: 7.938 kB / 474.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.064e-06/0.006034, allocations: 7.906 kB / 474.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.006052, allocations: 0 / 474.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.35e-06/0.006062, 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.0002218/0.006287, allocations: 153.5 kB / 474.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.496e-05/0.006308, allocations: 7.938 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of Early Inline: time 6.277e-05/0.006375, allocations: 52.31 kB / 475 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplify1: time 2.655e-06/0.006384, allocations: 0 / 475 MB, free: 9.27 MB / 350.1 MB Notification: Performance of Alias: time 4.83e-05/0.006437, allocations: 64.53 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simplify2: time 7.41e-07/0.006443, allocations: 0 / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Detect States: time 4.628e-05/0.006495, allocations: 28.25 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Events: time 1.593e-05/0.006517, allocations: 7.953 kB / 475.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Partitioning: time 3.843e-05/0.00656, allocations: 12.12 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of Causalize: time 8.288e-05/0.006649, allocations: 20.11 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.686e-05/0.006702, allocations: 48.36 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Inline: time 6.958e-05/0.006778, allocations: 72.67 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Partitioning: time 9.718e-06/0.006794, allocations: 12.06 kB / 475.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Cleanup: time 9.698e-06/0.006808, allocations: 8 kB / 475.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of Causalize: time 4.368e-05/0.006856, allocations: 24.05 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Tearing: time 7.033e-06/0.00687, allocations: 0 / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Initialization: time 3.71e-07/0.006875, allocations: 0 / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Tearing: time 2.956e-06/0.006882, allocations: 3.938 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of Categorize: time 1.665e-05/0.006905, allocations: 16.12 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of Solve: time 1.267e-05/0.006922, allocations: 3.984 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Jacobian: time 2.395e-06/0.006929, allocations: 0 / 475.3 MB, free: 8.809 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.413e-05/0.006956, allocations: 14.28 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of SimCode: time 0.001287/0.008248, allocations: 1.197 MB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of Templates: time 0.005302/0.01356, allocations: 2.953 MB / 479.4 MB, free: 4.637 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