Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 109.9 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 218.2 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.13/1.13, 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.1748/0.1748, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.749e-05, allocations: 4.953 kB / 481.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00109/0.001116, allocations: 0.4936 MB / 482.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.003628, allocations: 2.146 MB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.003653, allocations: 0 / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.003672, allocations: 0 / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.438e-06/0.003681, allocations: 0 / 484.5 MB, free: 1.5 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.005409, allocations: 0.7147 MB / 485.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.447e-05/0.005461, allocations: 11.98 kB / 485.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.005501, allocations: 7.922 kB / 485.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.094e-05/0.005517, allocations: 0 / 485.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.502e-05/0.005536, allocations: 0 / 485.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.005545, allocations: 0 / 485.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.007324, allocations: 1.486 MB / 486.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.871e-05/0.007354, allocations: 7.891 kB / 486.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.11e-07/0.00736, allocations: 0 / 486.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.224e-05/0.007377, allocations: 4 kB / 486.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.72e-06/0.007387, allocations: 3.938 kB / 486.8 MB, free: 15.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.0002035/0.007595, allocations: 157.3 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FunctionAlias: time 7.905e-06/0.007609, allocations: 7.891 kB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Early Inline: time 5.168e-05/0.007665, allocations: 48.36 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplify1: time 1.492e-06/0.007674, allocations: 4 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of Alias: time 4.808e-05/0.007726, allocations: 48.62 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplify2: time 7.42e-07/0.007732, allocations: 0 / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Events: time 1.147e-05/0.007747, allocations: 3.984 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Detect States: time 4.146e-05/0.007793, allocations: 28.2 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Partitioning: time 3.692e-05/0.007837, allocations: 20.05 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Causalize: time 7.831e-05/0.007922, allocations: 24.12 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 4.183e-05/0.00797, allocations: 52.36 kB / 487.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Inline: time 5.371e-05/0.008029, allocations: 56.5 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Partitioning: time 1.055e-05/0.008045, allocations: 16.11 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Cleanup: time 5.59e-06/0.008057, allocations: 4.188 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Causalize: time 4.596e-05/0.008107, allocations: 32 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Tearing: time 5.751e-06/0.00812, allocations: 0 / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Initialization: time 3e-07/0.008124, allocations: 0 / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Tearing: time 1.102e-06/0.008131, allocations: 4 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Categorize: time 6.232e-06/0.008141, allocations: 3.984 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Solve: time 1.203e-05/0.008156, allocations: 3.938 kB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of Jacobian: time 2.745e-06/0.008163, allocations: 0 / 487.3 MB, free: 14.49 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.664e-05/0.008194, allocations: 21.66 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 0.002572/0.01077, allocations: 2.225 MB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01037/0.02115, allocations: 7.219 MB / 496.7 MB, free: 5.004 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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_TestMatrices2b -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.TestMatrices2b.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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_TestMatrices2b -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.TestMatrices2b_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:570:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:730:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta27 = stringAppend(_OMC_LIT1,tmp26); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:731:50: error: use of undeclared identifier '_OMC_LIT2' tmpMeta28 = stringAppend(tmpMeta27,_OMC_LIT2); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:816:55: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:883:8: error: use of undeclared identifier '_OMC_LIT4' _s = _OMC_LIT4; ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:884:83: error: use of undeclared identifier '_OMC_LIT5' _blanks = omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits, _OMC_LIT5); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:885:12: error: use of undeclared identifier '_OMC_LIT6' _space = _OMC_LIT6; ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:886:13: error: use of undeclared identifier '_OMC_LIT7' _space2 = _OMC_LIT7; ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:893:35: error: use of undeclared identifier '_OMC_LIT10' tmpMeta3 = stringAppend(_name,_OMC_LIT10); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:898:50: error: use of undeclared identifier '_OMC_LIT4' tmp6 = (modelica_boolean)(stringEqual(_name, _OMC_LIT4)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:898:50: error: use of undeclared identifier '_OMC_LIT4' ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:901:14: error: use of undeclared identifier '_OMC_LIT8' tmp7 = _OMC_LIT8; ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:905:31: error: use of undeclared identifier '_OMC_LIT8' tmpMeta4 = stringAppend(_OMC_LIT8,_name); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:906:40: error: use of undeclared identifier '_OMC_LIT9' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT9); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:928:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta9 = stringAppend(_s,_OMC_LIT5); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:935:202: error: use of undeclared identifier '_OMC_LIT5' tmpMeta13 = stringAppend(tmpMeta11,omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits + ((modelica_integer) 8) - omc_Modelica_Utilities_Strings_length(threadData, tmp12), _OMC_LIT5)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:940:37: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(_s,_OMC_LIT8); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:1264:8: error: use of undeclared identifier '_OMC_LIT4' _s = _OMC_LIT4; ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:1265:83: error: use of undeclared identifier '_OMC_LIT5' _blanks = omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits, _OMC_LIT5); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.o] Error 1