Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 108 kB / 18.46 MB, free: 4.59 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.001081/0.001081, allocations: 194.5 kB / 19.4 MB, free: 3.664 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.358/1.358, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.233/0.233, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.876e-05/3.876e-05, allocations: 3.688 kB / 471.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00169/0.001736, allocations: 493.4 kB / 471.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008153/0.009901, allocations: 4.818 MB / 476.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.009972, allocations: 0 / 476.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.009998, allocations: 4 kB / 476.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.566e-06/0.01001, allocations: 3.938 kB / 476.5 MB, free: 7.926 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.008753/0.01882, allocations: 2.937 MB / 479.4 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.01892, allocations: 0 / 479.4 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.118e-05/0.01899, allocations: 11.98 kB / 479.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.01908, allocations: 0 / 479.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.034e-05/0.01911, allocations: 0 / 479.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-06/0.01912, allocations: 0 / 479.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008467/0.02759, allocations: 4.53 MB / 483.9 MB, free: 460 kB / 350.1 MB Notification: Performance of combineBinaries: time 4.24e-05/0.02767, allocations: 11.89 kB / 483.9 MB, free: 448 kB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.163e-06/0.02768, allocations: 0 / 483.9 MB, free: 448 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.02771, allocations: 0 / 483.9 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.47e-05/0.02774, allocations: 4 kB / 483.9 MB, free: 444 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.0004116/0.02816, allocations: 191 kB / 484.1 MB, free: 148 kB / 350.1 MB Notification: Performance of FunctionAlias: time 1.701e-05/0.02818, allocations: 7.953 kB / 484.1 MB, free: 140 kB / 350.1 MB Notification: Performance of Early Inline: time 0.0001075/0.0283, allocations: 44.38 kB / 484.2 MB, free: 68 kB / 350.1 MB Notification: Performance of simplify1: time 2.254e-06/0.02831, allocations: 4 kB / 484.2 MB, free: 64 kB / 350.1 MB Notification: Performance of Alias: time 8.668e-05/0.0284, allocations: 56.59 kB / 484.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplify2: time 8.21e-07/0.0284, allocations: 0 / 484.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Events: time 1.923e-05/0.02843, allocations: 3.953 kB / 484.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Detect States: time 8.828e-05/0.02852, allocations: 39.14 kB / 484.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Partitioning: time 6.304e-05/0.02859, allocations: 12.12 kB / 484.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001474/0.02875, allocations: 20.06 kB / 484.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 6.512e-05/0.02882, allocations: 44.38 kB / 484.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Inline: time 0.0001165/0.02894, allocations: 76.66 kB / 484.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Partitioning: time 1.187e-05/0.02897, allocations: 12.12 kB / 484.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Cleanup: time 1.519e-05/0.02899, allocations: 11.92 kB / 484.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Causalize: time 6.885e-05/0.02906, allocations: 24.11 kB / 484.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Tearing: time 8.126e-06/0.02908, allocations: 0 / 484.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Initialization: time 4.01e-07/0.02908, allocations: 0 / 484.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Tearing: time 1.242e-06/0.02909, allocations: 0 / 484.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Categorize: time 9.919e-06/0.02911, allocations: 0 / 484.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Solve: time 2.075e-05/0.02913, allocations: 7.938 kB / 484.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Jacobian: time 2.835e-06/0.02914, allocations: 192 / 484.5 MB, free: 15.62 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 5.123e-05/0.0292, allocations: 26.2 kB / 484.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of SimCode: time 0.01585/0.04505, allocations: 9.247 MB / 493.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of Templates: time 0.02736/0.07248, allocations: 13.36 MB / 0.4952 GB, free: 8.977 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile make -j1 -f ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.Math.TestMatrices2.o ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.Math.TestMatrices2_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:110:57: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:188:33: error: use of undeclared identifier '_OMC_LIT2' tmpMeta8 = stringAppend(_OMC_LIT2,tmp7); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:189:42: error: use of undeclared identifier '_OMC_LIT3' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:204:55: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:986:57: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:1215:34: error: use of undeclared identifier '_OMC_LIT5' tmpMeta30 = stringAppend(_OMC_LIT5,tmp29); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:1216:44: error: use of undeclared identifier '_OMC_LIT6' tmpMeta31 = stringAppend(tmpMeta30,_OMC_LIT6); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:1401:32: error: use of undeclared identifier '_OMC_LIT7' tmpMeta18 = stringAppend(_OMC_LIT7,tmp17); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:1767:55: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:1961:32: error: use of undeclared identifier '_OMC_LIT7' tmpMeta23 = stringAppend(_OMC_LIT7,tmp22); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:2314:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:2474:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta27 = stringAppend(_OMC_LIT10,tmp26); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:2475:50: error: use of undeclared identifier '_OMC_LIT11' tmpMeta28 = stringAppend(tmpMeta27,_OMC_LIT11); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:2519:21: error: use of undeclared identifier '_OMC_LIT12' _normspec = (_inf?_OMC_LIT12:_OMC_LIT13); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:2519:32: error: use of undeclared identifier '_OMC_LIT13' _normspec = (_inf?_OMC_LIT12:_OMC_LIT13); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:2601:55: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:2713:55: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_functions.c:2768:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestMatrices2_functions.o] Error 1