Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008863/0.0008863, allocations: 115 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009147/0.0009147, allocations: 209.1 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.129/1.129, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1763/0.1763, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.291e-05, allocations: 2.281 kB / 481.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001013/0.001034, allocations: 497.5 kB / 482.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006116/0.007162, allocations: 4.88 MB / 487.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.215e-05/0.007186, allocations: 0 / 487.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.758e-06/0.007202, allocations: 0 / 487.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-06/0.007211, allocations: 0 / 487.3 MB, free: 14.78 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.005568/0.01279, allocations: 2.937 MB / 490.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.881e-05/0.01284, allocations: 0 / 490.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.01288, allocations: 7.984 kB / 490.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.285e-05/0.0129, allocations: 4 kB / 490.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.289e-05/0.01292, allocations: 0 / 490.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-06/0.01292, allocations: 0 / 490.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004885/0.01781, allocations: 4.541 MB / 494.8 MB, free: 7.289 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.896e-05/0.01784, allocations: 7.891 kB / 494.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.835e-06/0.01785, allocations: 7.938 kB / 494.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.01787, allocations: 0 / 494.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.66e-06/0.01788, allocations: 4 kB / 494.8 MB, free: 7.27 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.0002384/0.01812, allocations: 181.9 kB / 495 MB, free: 6.996 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.097e-05/0.01814, allocations: 3.953 kB / 495 MB, free: 6.992 MB / 366.1 MB Notification: Performance of Early Inline: time 6.049e-05/0.01821, allocations: 52.38 kB / 495 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simplify1: time 2.835e-06/0.01822, allocations: 0 / 495 MB, free: 6.914 MB / 366.1 MB Notification: Performance of Alias: time 5.226e-05/0.01827, allocations: 64.5 kB / 495.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simplify2: time 5.21e-07/0.01828, allocations: 0 / 495.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of Events: time 9.548e-06/0.01829, allocations: 0 / 495.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of Detect States: time 4.739e-05/0.01834, allocations: 34.77 kB / 495.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of Partitioning: time 3.708e-05/0.01839, allocations: 16.11 kB / 495.1 MB, free: 6.742 MB / 366.1 MB Notification: Performance of Causalize: time 8.5e-05/0.01848, allocations: 28.11 kB / 495.1 MB, free: 6.707 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 3.371e-05/0.01852, allocations: 44.31 kB / 495.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of Inline: time 7.325e-05/0.0186, allocations: 68.67 kB / 495.3 MB, free: 6.535 MB / 366.1 MB Notification: Performance of Partitioning: time 9.157e-06/0.01861, allocations: 16.12 kB / 495.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of Cleanup: time 7.174e-06/0.01862, allocations: 3.938 kB / 495.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of Causalize: time 4.303e-05/0.01867, allocations: 24.11 kB / 495.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of Tearing: time 6.923e-06/0.01869, allocations: 4 kB / 495.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of Initialization: time 2.61e-07/0.01869, allocations: 0 / 495.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of Tearing: time 7.61e-07/0.01869, allocations: 0 / 495.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of Categorize: time 6.762e-06/0.0187, allocations: 3.938 kB / 495.3 MB, free: 6.469 MB / 366.1 MB Notification: Performance of Solve: time 1.216e-05/0.01872, allocations: 3.984 kB / 495.3 MB, free: 6.465 MB / 366.1 MB Notification: Performance of Jacobian: time 2.304e-06/0.01873, allocations: 4.188 kB / 495.3 MB, free: 6.461 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.171e-05/0.01876, allocations: 11.28 kB / 495.3 MB, free: 6.453 MB / 366.1 MB Notification: Performance of SimCode: time 0.008183/0.02694, allocations: 9.233 MB / 0.4927 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.1714/0.1983, allocations: 13.36 MB / 0.5058 GB, free: 28.05 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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_TestMatrices2 -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.TestMatrices2.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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_TestMatrices2 -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.TestMatrices2_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:110:57: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:188:33: error: use of undeclared identifier '_OMC_LIT2' tmpMeta8 = stringAppend(_OMC_LIT2,tmp7); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:189:42: error: use of undeclared identifier '_OMC_LIT3' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:204:55: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:986:57: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:1215:34: error: use of undeclared identifier '_OMC_LIT5' tmpMeta30 = stringAppend(_OMC_LIT5,tmp29); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:1216:44: error: use of undeclared identifier '_OMC_LIT6' tmpMeta31 = stringAppend(tmpMeta30,_OMC_LIT6); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:1401:32: error: use of undeclared identifier '_OMC_LIT7' tmpMeta18 = stringAppend(_OMC_LIT7,tmp17); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:1767:55: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:1961:32: error: use of undeclared identifier '_OMC_LIT7' tmpMeta23 = stringAppend(_OMC_LIT7,tmp22); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2314:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2474:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta27 = stringAppend(_OMC_LIT10,tmp26); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2475:50: error: use of undeclared identifier '_OMC_LIT11' tmpMeta28 = stringAppend(tmpMeta27,_OMC_LIT11); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2519:21: error: use of undeclared identifier '_OMC_LIT12' _normspec = (_inf?_OMC_LIT12:_OMC_LIT13); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2519:32: error: use of undeclared identifier '_OMC_LIT13' _normspec = (_inf?_OMC_LIT12:_OMC_LIT13); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2601:55: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2713:55: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2768:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.c:2805:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_functions.o] Error 1