Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 115.6 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.001153/0.001153, allocations: 210.3 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.145/1.145, 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.1747/0.1747, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.617e-05, allocations: 2.281 kB / 481.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001051/0.001075, allocations: 0.4964 MB / 482.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.002225, allocations: 0.7642 MB / 483.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.521e-05/0.002251, allocations: 0 / 483.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.336e-06/0.002266, allocations: 0 / 483.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.168e-06/0.002275, allocations: 0 / 483.2 MB, free: 2.875 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.003741, allocations: 0.6538 MB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.898e-05/0.003788, allocations: 4 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.683e-05/0.00382, allocations: 4 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.183e-05/0.003839, allocations: 8 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.381e-05/0.003857, allocations: 3.984 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-06/0.003866, allocations: 0 / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.00443, allocations: 394.9 kB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.604e-05/0.004456, allocations: 0 / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.877e-06/0.004465, allocations: 11.89 kB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.004487, allocations: 0 / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.402e-06/0.004497, allocations: 3.938 kB / 484.2 MB, free: 1.801 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.0002019/0.004704, allocations: 157.4 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.828e-06/0.004719, allocations: 3.953 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Early Inline: time 5.153e-05/0.004775, allocations: 48.36 kB / 484.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simplify1: time 2.796e-06/0.004783, allocations: 3.984 kB / 484.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Alias: time 3.77e-05/0.004826, allocations: 48.62 kB / 484.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simplify2: time 1.613e-06/0.004832, allocations: 0 / 484.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Events: time 1.256e-05/0.004848, allocations: 11.94 kB / 484.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Detect States: time 4.893e-05/0.004902, allocations: 32.19 kB / 484.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of Partitioning: time 3.782e-05/0.004946, allocations: 16.12 kB / 484.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of Causalize: time 7.705e-05/0.005028, allocations: 20.11 kB / 484.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.4e-05/0.005068, allocations: 48.36 kB / 484.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Inline: time 6.476e-05/0.005138, allocations: 68.48 kB / 484.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Partitioning: time 7.745e-06/0.005151, allocations: 8.125 kB / 484.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Cleanup: time 7.945e-06/0.005164, allocations: 7.938 kB / 484.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Causalize: time 4.399e-05/0.005213, allocations: 36.28 kB / 484.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Tearing: time 6.102e-06/0.005226, allocations: 0 / 484.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Initialization: time 5.91e-07/0.00523, allocations: 0 / 484.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Tearing: time 8.02e-07/0.005235, allocations: 0 / 484.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Categorize: time 7.835e-06/0.005246, allocations: 7.938 kB / 484.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Solve: time 1.064e-05/0.00526, allocations: 0 / 484.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Jacobian: time 4.638e-06/0.005269, allocations: 4 kB / 484.7 MB, free: 1.016 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.321e-05/0.005296, allocations: 18.59 kB / 484.8 MB, free: 1 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009839/0.006284, allocations: 1.127 MB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Templates: time 0.003771/0.01007, allocations: 1.854 MB / 487.7 MB, free: 14 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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_TestVectors -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.TestVectors.o ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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_TestVectors -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.TestVectors_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:289:28: error: use of undeclared identifier '_OMC_LIT1' _job = (_eigenValuesOnly?_OMC_LIT1:_OMC_LIT2); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:289:38: error: use of undeclared identifier '_OMC_LIT2' _job = (_eigenValuesOnly?_OMC_LIT1:_OMC_LIT2); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:387:97: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(omc_Modelica_Math_Matrices_LAPACK_dhseqr(threadData, _H, 1 /* true */, _OMC_LIT0, _H ,&_alphaImag ,&_info, NULL, NULL, NULL), _alphaReal); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:481:55: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:555:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:600:55: error: use of undeclared identifier '_OMC_LIT5' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT5)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:632: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.TestVectors_functions.c:681:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _a); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:686:25: error: use of undeclared identifier '_OMC_LIT8' real_array_alloc_copy(_OMC_LIT8, _x); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:706:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _y); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:752:28: error: use of undeclared identifier '_OMC_LIT10' tmpMeta21 = stringAppend(_OMC_LIT10,tmp20); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:753:63: error: use of undeclared identifier '_OMC_LIT6' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta21, _OMC_LIT6); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:760:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:765:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 6.5, ((modelica_integer) 4) ,&_iNew); ^~~~~~ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:526:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:772:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:777:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 6.5, ((modelica_integer) 9) ,&_iNew); ^~~~~~ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:526:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:784:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:789:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 4.0, ((modelica_integer) 2) ,&_iNew); ^~~~~~ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:526:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.c:796:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ 4 warnings and 15 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.TestVectors_functions.o] Error 1