Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003574/0.00358, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001706/0.001706, allocations: 98.84 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 12 kB / 431.3 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 58.86 MB / 490.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0008925/0.1252, allocations: 220.7 kB / 490.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004063/0.1294, allocations: 1.503 MB / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.1294, allocations: 0 / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.1295, allocations: 0 / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.1295, allocations: 0 / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.1309, allocations: 187.6 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.131, allocations: 3.984 kB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.1311, allocations: 4 kB / 492.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.053e-05/0.1311, allocations: 3.938 kB / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.91e-05/0.1312, allocations: 7.984 kB / 492.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1312, allocations: 0 / 492.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.1332, allocations: 0.652 MB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1333, allocations: 0 / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.1334, allocations: 25.7 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.1345, allocations: 447.3 kB / 493.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1345, allocations: 0 / 493.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1345, allocations: 0 / 493.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1346, allocations: 4 kB / 493.2 MB, free: 6.297 MB / 330.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.0007735/0.1354, allocations: 365.1 kB / 493.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.1354, allocations: 8.031 kB / 493.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.1355, allocations: 3.938 kB / 493.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1356, allocations: 163 kB / 493.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1357, allocations: 0 / 493.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1357, allocations: 7.938 kB / 493.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1358, allocations: 25.7 kB / 493.8 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1359, allocations: 4 kB / 493.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1359, allocations: 0 / 493.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.1359, allocations: 0 / 493.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.136, allocations: 8 kB / 493.8 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.1362, allocations: 153.6 kB / 494 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.05e-05/0.1363, allocations: 18.61 kB / 494 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1363, allocations: 7.922 kB / 494 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.405e-05/0.1364, allocations: 60.27 kB / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 2.235e-06/0.1364, allocations: 0 / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002752/0.1367, allocations: 67.45 kB / 494.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.1368, allocations: 77.11 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.1369, allocations: 89.86 kB / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1369, allocations: 25.7 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.137, allocations: 150.6 kB / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.137, allocations: 0 / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.1371, allocations: 4 kB / 494.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1373, allocations: 318.9 kB / 494.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.1373, allocations: 0 / 494.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.1373, allocations: 7.938 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.1374, allocations: 33.69 kB / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/0.1374, allocations: 0 / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001504/0.1376, allocations: 55.41 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.1377, allocations: 33.7 kB / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1377, allocations: 0 / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1377, allocations: 96 / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.1377, allocations: 4 kB / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.1378, allocations: 0 / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.1378, allocations: 0 / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1378, allocations: 11.98 kB / 494.9 MB, free: 4.375 MB / 330.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 0.0001503/0.138, allocations: 139.5 kB / 495 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.138, allocations: 4 kB / 495.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.1381, allocations: 7.062 kB / 495.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1381, allocations: 4 kB / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1381, allocations: 0 / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1381, allocations: 4 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1383, allocations: 153.6 kB / 495.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1384, allocations: 0 / 495.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.1384, allocations: 0 / 495.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1384, allocations: 3.938 kB / 495.2 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1384, allocations: 4 kB / 495.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1384, allocations: 0 / 495.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1385, allocations: 0 / 495.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1387, allocations: 94.83 kB / 495.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.1388, allocations: 81.06 kB / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1388, allocations: 0 / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/0.1388, allocations: 0 / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.1389, allocations: 3.938 kB / 495.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1389, allocations: 4 kB / 495.4 MB, free: 3.773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.184e-05/0.139, allocations: 75.28 kB / 495.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.139, allocations: 0 / 495.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001048/0.14, allocations: 124 kB / 495.6 MB, free: 3.578 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001657/0.1417, allocations: 169.2 kB / 495.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.142, allocations: 63.33 kB / 495.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.142, allocations: 4.062 kB / 495.8 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.1421, allocations: 59.41 kB / 495.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.1423, allocations: 7.938 kB / 495.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.1426, allocations: 96.41 kB / 496 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1429, allocations: 0.677 MB / 496.7 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.143, allocations: 7.438 kB / 496.7 MB, free: 2.418 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.143, allocations: 0 / 496.7 MB, free: 2.418 MB / 330.7 MB Notification: Performance of Templates: time 0.0127/0.1557, allocations: 3.375 MB / 0.4883 GB, free: 15.04 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3Functions.cpp:123:50: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar4_ = std::abs(A_(_omcQ_24i1_,i_));\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3Functions.cpp:198:57: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar2_ = std::abs(A_(i_,_omcQ_24i1_));\n ^\n2 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.o] Error 1\n'