Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 113.9 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 204.1 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.141/1.141, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1786/0.1786, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.603e-05, allocations: 6.219 kB / 481.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001038/0.001061, allocations: 0.4884 MB / 482.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.002804, allocations: 1.565 MB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.002829, allocations: 0 / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.919e-06/0.002845, allocations: 0 / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.002853, allocations: 0 / 483.9 MB, free: 2.062 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006931/0.003555, allocations: 230.8 kB / 484.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.003612, allocations: 7.984 kB / 484.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.003653, allocations: 3.984 kB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.003674, allocations: 7.938 kB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.242e-05/0.00369, allocations: 0 / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-06/0.003699, allocations: 0 / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.004171, allocations: 367.8 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.139e-05/0.004202, allocations: 7.984 kB / 484.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.764e-06/0.004209, allocations: 3.906 kB / 484.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.959e-06/0.004222, allocations: 0 / 484.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.32e-06/0.004232, allocations: 0 / 484.6 MB, free: 1.449 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.0002064/0.004442, allocations: 157.4 kB / 484.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.026e-05/0.004457, allocations: 3.953 kB / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Early Inline: time 4.602e-05/0.004507, allocations: 44.36 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simplify1: time 1.613e-06/0.004515, allocations: 4 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Alias: time 3.944e-05/0.00456, allocations: 52.62 kB / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simplify2: time 5.11e-07/0.004565, allocations: 0 / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Events: time 9.498e-06/0.004579, allocations: 0 / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001731/0.004756, allocations: 26.55 kB / 484.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Partitioning: time 4.018e-05/0.004802, allocations: 24.11 kB / 484.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Causalize: time 8.545e-05/0.004893, allocations: 28.06 kB / 484.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.542e-05/0.004935, allocations: 52.33 kB / 484.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of Inline: time 5.768e-05/0.004999, allocations: 64.5 kB / 485 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of Partitioning: time 1.041e-05/0.005015, allocations: 16.09 kB / 485 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Cleanup: time 6.713e-06/0.005028, allocations: 7.938 kB / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Causalize: time 4.395e-05/0.005076, allocations: 32.25 kB / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of Tearing: time 5.551e-06/0.005089, allocations: 0 / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of Initialization: time 2.8e-07/0.005093, allocations: 0 / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of Tearing: time 9.92e-07/0.005098, allocations: 0 / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of Categorize: time 7.093e-06/0.005109, allocations: 7.984 kB / 485.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Solve: time 1.124e-05/0.005124, allocations: 0 / 485.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Jacobian: time 3.397e-06/0.005131, allocations: 3.938 kB / 485.1 MB, free: 0.6641 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.482e-05/0.005159, allocations: 14.2 kB / 485.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008229/0.005986, allocations: 0.9913 MB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.003078/0.009076, allocations: 1.483 MB / 487.6 MB, free: 14.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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_TestMatrices3 -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.TestMatrices3.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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_TestMatrices3 -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.TestMatrices3_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c:150:40: error: use of undeclared identifier '_OMC_LIT0' tmpMeta27 = stringAppend(_OMC_LIT0,tmp26); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c:151:50: error: use of undeclared identifier '_OMC_LIT1' tmpMeta28 = stringAppend(tmpMeta27,_OMC_LIT1); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c:330:55: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c:505: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.TestMatrices3_functions.c:539:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _A1); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c:563:28: error: use of undeclared identifier '_OMC_LIT5' tmpMeta10 = stringAppend(_OMC_LIT5,tmp9); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c:564:38: error: use of undeclared identifier '_OMC_LIT6' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT6); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c:567:63: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta13, _OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.c:574:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ 1 warning and 8 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_functions.o] Error 1