Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001045, allocations: 111 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 217.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.133/1.133, 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.1747/0.1747, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.02e-05, allocations: 2.281 kB / 481.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001064/0.001082, allocations: 0.4898 MB / 482.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.002795, allocations: 1.604 MB / 484 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.00282, allocations: 0 / 484 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.678e-06/0.002835, allocations: 0 / 484 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-06/0.002843, allocations: 0 / 484 MB, free: 2.051 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.00355, allocations: 279.3 kB / 484.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.889e-05/0.003597, allocations: 0 / 484.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.798e-05/0.00363, allocations: 0 / 484.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.424e-05/0.003648, allocations: 7.984 kB / 484.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.517e-05/0.003668, allocations: 0 / 484.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-06/0.003676, allocations: 0 / 484.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.004196, allocations: 479 kB / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.532e-05/0.004221, allocations: 0 / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.436e-06/0.004229, allocations: 3.906 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.458e-06/0.004243, allocations: 3.938 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.004251, allocations: 0 / 484.7 MB, free: 1.293 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.0002016/0.004458, allocations: 149.5 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.76e-05/0.004481, allocations: 11.88 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Early Inline: time 4.708e-05/0.004533, allocations: 48.36 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simplify1: time 1.463e-06/0.00454, allocations: 0 / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Alias: time 4.696e-05/0.004591, allocations: 56.55 kB / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simplify2: time 5.72e-07/0.004596, allocations: 0 / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of Events: time 1.084e-05/0.004611, allocations: 4 kB / 485 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Detect States: time 4.427e-05/0.004659, allocations: 30.73 kB / 485 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of Partitioning: time 3.688e-05/0.004702, allocations: 12.12 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Causalize: time 9.195e-05/0.004799, allocations: 24.2 kB / 485.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.213e-05/0.004841, allocations: 48.47 kB / 485.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Inline: time 5.865e-05/0.004905, allocations: 64.48 kB / 485.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Partitioning: time 9.288e-06/0.00492, allocations: 12.12 kB / 485.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of Cleanup: time 7.574e-06/0.004932, allocations: 7.922 kB / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of Causalize: time 4.534e-05/0.004982, allocations: 36.11 kB / 485.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of Tearing: time 5.73e-06/0.004996, allocations: 3.938 kB / 485.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of Initialization: time 2.71e-07/0.005, allocations: 0 / 485.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of Tearing: time 8.01e-07/0.005005, allocations: 0 / 485.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of Categorize: time 5.961e-06/0.005014, allocations: 3.938 kB / 485.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of Solve: time 1.215e-05/0.00503, allocations: 4 kB / 485.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of Jacobian: time 2.344e-06/0.005036, allocations: 0 / 485.3 MB, free: 0.5156 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.099e-05/0.005061, allocations: 14.02 kB / 485.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008367/0.005902, allocations: 1.032 MB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Templates: time 0.00288/0.008792, allocations: 1.171 MB / 487.5 MB, free: 14.29 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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_TestMatrices -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.TestMatrices.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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_TestMatrices -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.TestMatrices_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:53:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta9 = stringAppend(_OMC_LIT0,tmp7); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:54:41: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:58:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta14 = stringAppend(tmpMeta13,_OMC_LIT2); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:62:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT1); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:66:42: error: use of undeclared identifier '_OMC_LIT3' tmpMeta22 = stringAppend(tmpMeta21,_OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:81:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:145:55: error: use of undeclared identifier '_OMC_LIT5' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT5)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:396:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:422:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _A1); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:425:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _A2); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:428:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _b); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:431:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _A3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:434:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _a3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:437:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _B3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:440:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _b3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:443:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _A4); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:446:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _a4); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:449:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _B4); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:452:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _b4); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.c:460:52: error: use of undeclared identifier '_OMC_LIT15' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT15, _OMC_LIT6); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_functions.o] Error 1