Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004561/0.004566, allocations: 369.1 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.069/4.069, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004861/0.004861, allocations: 232.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.635/0.635, allocations: 80.01 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006754/0.0006757, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1118, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0005945/0.1124, allocations: 220.4 kB / 0.6803 GB, free: 41.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008726/0.1212, allocations: 4.787 MB / 0.685 GB, free: 36.64 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.1212, allocations: 0 / 0.685 GB, free: 36.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.1213, allocations: 0 / 0.685 GB, free: 36.64 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.516e-06/0.1213, allocations: 0 / 0.685 GB, free: 36.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008824/0.1301, allocations: 2.624 MB / 0.6875 GB, free: 34.03 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.742e-05/0.1302, allocations: 0 / 0.6875 GB, free: 34.03 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.1303, allocations: 3.938 kB / 0.6875 GB, free: 34.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.1303, allocations: 3.984 kB / 0.6875 GB, free: 34.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.826e-05/0.1303, allocations: 4 kB / 0.6876 GB, free: 34.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-06/0.1303, allocations: 7.938 kB / 0.6876 GB, free: 34.01 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03903/0.1694, allocations: 19.81 MB / 0.7069 GB, free: 14.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.1694, allocations: 0 / 0.7069 GB, free: 14.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.1695, allocations: 25.7 kB / 0.7069 GB, free: 14.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3661/0.5355, allocations: 20.38 MB / 0.7268 GB, free: 19.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5356, allocations: 0 / 0.7268 GB, free: 19.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.5356, allocations: 3.062 kB / 0.7268 GB, free: 19.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.5357, allocations: 0 / 0.7268 GB, free: 19.1 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.014/0.5497, allocations: 0.6566 MB / 0.7275 GB, free: 18.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.5497, allocations: 11.95 kB / 0.7275 GB, free: 18.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.5498, allocations: 0.9375 kB / 0.7275 GB, free: 18.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.5499, allocations: 159.8 kB / 0.7276 GB, free: 18.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5499, allocations: 3.219 kB / 0.7276 GB, free: 18.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.5499, allocations: 12.14 kB / 0.7277 GB, free: 18.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.5501, allocations: 34.22 kB / 0.7277 GB, free: 18.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5501, allocations: 1.844 kB / 0.7277 GB, free: 18.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.5501, allocations: 0 / 0.7277 GB, free: 18.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5501, allocations: 0 / 0.7277 GB, free: 18.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.5501, allocations: 0 / 0.7277 GB, free: 18.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.5503, allocations: 148.5 kB / 0.7278 GB, free: 18.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.306e-05/0.5503, allocations: 18.3 kB / 0.7279 GB, free: 18.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.5503, allocations: 10.67 kB / 0.7279 GB, free: 18.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.5504, allocations: 2.562 kB / 0.7279 GB, free: 18.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.5504, allocations: 61.47 kB / 0.7279 GB, free: 18.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.5504, allocations: 0 / 0.7279 GB, free: 18.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.5506, allocations: 67.41 kB / 0.728 GB, free: 18.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5507, allocations: 79.83 kB / 0.7281 GB, free: 17.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.865e-05/0.5507, allocations: 91.23 kB / 0.7282 GB, free: 17.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.5507, allocations: 27.77 kB / 0.7282 GB, free: 17.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.851e-05/0.5507, allocations: 81.62 kB / 0.7283 GB, free: 17.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.5508, allocations: 3.25 kB / 0.7283 GB, free: 17.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.5508, allocations: 0 / 0.7283 GB, free: 17.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.5509, allocations: 313.5 kB / 0.7286 GB, free: 17.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.5509, allocations: 0 / 0.7286 GB, free: 17.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.5509, allocations: 0 / 0.7286 GB, free: 17.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.5509, allocations: 34.11 kB / 0.7286 GB, free: 17.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5509, allocations: 0 / 0.7286 GB, free: 17.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.481e-05/0.551, allocations: 67.25 kB / 0.7287 GB, free: 17.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.5511, allocations: 34.06 kB / 0.7287 GB, free: 17.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5511, allocations: 0 / 0.7287 GB, free: 17.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5511, allocations: 4.922 kB / 0.7287 GB, free: 17.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.5511, allocations: 0 / 0.7287 GB, free: 17.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5511, allocations: 3.156 kB / 0.7287 GB, free: 17.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.5512, allocations: 2.188 kB / 0.7287 GB, free: 17.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.5512, allocations: 0 / 0.7287 GB, free: 17.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.5513, allocations: 138.1 kB / 0.7288 GB, free: 17.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.5513, allocations: 0 / 0.7288 GB, free: 17.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/0.5513, allocations: 9.781 kB / 0.7288 GB, free: 17.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5513, allocations: 3.953 kB / 0.7288 GB, free: 17.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5513, allocations: 5.016 kB / 0.7288 GB, free: 17.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.5514, allocations: 80.36 kB / 0.7289 GB, free: 17.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.5514, allocations: 0 / 0.7289 GB, free: 17.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.5514, allocations: 0 / 0.7289 GB, free: 17.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.5514, allocations: 4.781 kB / 0.7289 GB, free: 17.02 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001034/0.5515, allocations: 198.2 kB / 0.7291 GB, free: 16.82 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001141/0.5517, allocations: 241.5 kB / 0.7293 GB, free: 16.58 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.127e-05/0.5517, allocations: 3.094 kB / 0.7294 GB, free: 16.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.525e-05/0.5517, allocations: 75.28 kB / 0.7294 GB, free: 16.5 MB / 346.7 MB Notification: Performance of Backend: time 6.81e-07/0.5517, allocations: 3.312 kB / 0.7294 GB, free: 16.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.03841/0.5902, allocations: 1.031 MB / 0.7304 GB, free: 16.26 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002911/0.5905, allocations: 0.5885 MB / 0.731 GB, free: 15.62 MB / 346.7 MB Notification: Performance of Templates: time 0.2662/0.8567, allocations: 122.4 MB / 0.8505 GB, free: 1.648 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2.makefile b'clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_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_3.2.2_ModelicaTest.Math.TestMatrices2.o ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2.c\nclang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_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_3.2.2_ModelicaTest.Math.TestMatrices2_functions.o ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c\nModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:3089:96: error: use of undeclared identifier \'_dummyFunctionPointerNotUsed_ext\'\n dgees_((char*)MMC_STRINGDATA(tmp4), (char*)MMC_STRINGDATA(tmp5), data_of_integer_f77_array(&(_dummyFunctionPointerNotUsed_ext)), (int*) &_n, data_of_real_f77_array(&(_T_ext)), (int*) &_lda, (int*) &_sdim, data_of_real_f77_array(&(_eval_real_ext)), data_of_real_f77_array(&(_eval_imag_ext)), data_of_real_f77_array(&(_Z_ext)), (int*) &_lda, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_boolean_f77_array(&(_bwork_ext)), (int*) &_info_ext);\n ^\nModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:3089:397: warning: implicit declaration of function \'data_of_boolean_f77_array\' is invalid in C99 [-Wimplicit-function-declaration]\n dgees_((char*)MMC_STRINGDATA(tmp4), (char*)MMC_STRINGDATA(tmp5), data_of_integer_f77_array(&(_dummyFunctionPointerNotUsed_ext)), (int*) &_n, data_of_real_f77_array(&(_T_ext)), (int*) &_lda, (int*) &_sdim, data_of_real_f77_array(&(_eval_real_ext)), data_of_real_f77_array(&(_eval_imag_ext)), data_of_real_f77_array(&(_Z_ext)), (int*) &_lda, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_boolean_f77_array(&(_bwork_ext)), (int*) &_info_ext);\n ^\nModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:4249:71: warning: implicit declaration of function \'data_of_boolean_f77_array\' is invalid in C99 [-Wimplicit-function-declaration]\n dtrsen_((char*)MMC_STRINGDATA(_job), (char*)MMC_STRINGDATA(_compq), data_of_boolean_f77_array(&(_select_ext)), (int*) &_n, data_of_real_f77_array(&(_To_ext)), (int*) &_ldt, data_of_real_f77_array(&(_Qo_ext)), (int*) &_ldq, data_of_real_f77_array(&(_wr_ext)), data_of_real_f77_array(&(_wi_ext)), (int*) &_m_ext, &_s_ext, &_sep_ext, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_integer_f77_array(&(_iwork_ext)), (int*) &_liwork, (int*) &_info_ext);\n ^\nModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:4249:71: warning: incompatible integer to pointer conversion passing \'int\' to parameter of type \'int *\' [-Wint-conversion]\n dtrsen_((char*)MMC_STRINGDATA(_job), (char*)MMC_STRINGDATA(_compq), data_of_boolean_f77_array(&(_select_ext)), (int*) &_n, data_of_real_f77_array(&(_To_ext)), (int*) &_ldt, data_of_real_f77_array(&(_Qo_ext)), (int*) &_ldq, data_of_real_f77_array(&(_wr_ext)), data_of_real_f77_array(&(_wi_ext)), (int*) &_m_ext, &_s_ext, &_sep_ext, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_integer_f77_array(&(_iwork_ext)), (int*) &_liwork, (int*) &_info_ext);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.h:332:71: note: passing argument to parameter here\nextern void dtrsen_(char* /*_job*/, char* /*_compq*/, int* /*_select*/, int* /*_n*/, double* /*_To*/, int* /*_ldt*/, double* /*_Qo*/, int* /*_ldq*/, double* /*_wr*/, double* /*_wi*/, int* /*_m*/, double* /*_s*/, double* /*_sep*/, double* /*_work*/, int* /*_lwork*/, int* /*_iwork*/, int* /*_liwork*/, int* /*_info*/);\n ^\nModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:4897:12: warning: implicit declaration of function \'scalar\' is invalid in C99 [-Wimplicit-function-declaration]\n _h = scalar(div_alloc_real_array_scalar(mul_alloc_real_matrix_product_smart(mul_alloc_real_array_scalar(tmp6, 2.0), tmp7), _lu));\n ^\n4 warnings and 1 error generated.\n: recipe for target \'ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.o\' failed\nmake: *** [ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.o] Error 1\n'