Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009963/0.0009965, allocations: 88.64 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001692, allocations: 182.6 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 242.5 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 44.23 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.00037, allocations: 11.94 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005678/0.133, allocations: 205.4 kB / 472.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.136, allocations: 1.907 MB / 474.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-06/0.136, allocations: 3.938 kB / 474.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.08e-06/0.136, allocations: 0 / 474.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.583e-06/0.136, allocations: 0 / 474.3 MB, free: 11.62 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750:29:writable] Warning: Pure function ‘Modelica.Math.Matrices.Examples.solveLinearEquations‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.1377, allocations: 448.5 kB / 474.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.668e-05/0.1378, allocations: 0 / 474.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.1378, allocations: 4 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.383e-06/0.1378, allocations: 7.938 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.539e-05/0.1378, allocations: 0 / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-06/0.1378, allocations: 3.984 kB / 474.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.1393, allocations: 0.8225 MB / 475.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-06/0.1393, allocations: 0 / 475.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.1393, allocations: 25.7 kB / 475.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008149/0.1401, allocations: 0.5459 MB / 476.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1402, allocations: 4 kB / 476.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1402, allocations: 0 / 476.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1402, allocations: 0 / 476.1 MB, free: 9.766 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005268/0.1407, allocations: 379.3 kB / 476.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1408, allocations: 8.562 kB / 476.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.1408, allocations: 79.28 kB / 476.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.141, allocations: 238.3 kB / 476.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.1411, allocations: 150.6 kB / 477 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.1411, allocations: 158.5 kB / 477.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.958e-05/0.1412, allocations: 101 kB / 477.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.1413, allocations: 75.28 kB / 477.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.215e-05/0.1414, allocations: 158.5 kB / 477.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/0.1414, allocations: 150.6 kB / 477.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.1415, allocations: 162.5 kB / 477.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1418, allocations: 438 kB / 478.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/0.1419, allocations: 169.1 kB / 478.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.142, allocations: 80.14 kB / 478.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.142, allocations: 79.28 kB / 478.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.1421, allocations: 117.7 kB / 478.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1421, allocations: 0 / 478.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.052e-05/0.1422, allocations: 25.7 kB / 478.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1423, allocations: 156.4 kB / 478.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.355e-05/0.1423, allocations: 89.86 kB / 478.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1423, allocations: 25.7 kB / 478.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.1424, allocations: 88.12 kB / 479 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.1424, allocations: 0 / 479 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-06/0.1424, allocations: 0 / 479 MB, free: 6.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1426, allocations: 322.8 kB / 479.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.1426, allocations: 0 / 479.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.1426, allocations: 0 / 479.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.1426, allocations: 75.28 kB / 479.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-05/0.1427, allocations: 75.28 kB / 479.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.905e-05/0.1427, allocations: 33.64 kB / 479.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.1428, allocations: 83.31 kB / 479.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/0.1428, allocations: 79.23 kB / 479.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.32e-05/0.1429, allocations: 162.4 kB / 479.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.398e-05/0.1429, allocations: 79.28 kB / 479.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.384e-05/0.143, allocations: 150.6 kB / 480 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.1431, allocations: 87.27 kB / 480.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.1431, allocations: 79.28 kB / 480.2 MB, free: 5.457 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001313/0.1433, allocations: 260.4 kB / 480.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.1434, allocations: 104.9 kB / 480.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.1434, allocations: 108.1 kB / 480.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.308e-05/0.1435, allocations: 188.2 kB / 480.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.241e-05/0.1436, allocations: 184.3 kB / 481 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.003e-05/0.1437, allocations: 176.3 kB / 481.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1439, allocations: 405.2 kB / 481.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/0.144, allocations: 105.2 kB / 481.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.144, allocations: 104.9 kB / 481.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.1441, allocations: 180.3 kB / 482 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.1442, allocations: 184.3 kB / 482.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.239e-05/0.1443, allocations: 188.2 kB / 482.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.934e-05/0.1443, allocations: 180.2 kB / 482.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1445, allocations: 303.8 kB / 482.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.1446, allocations: 190.1 kB / 483 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.1447, allocations: 180.2 kB / 483.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.1447, allocations: 105 kB / 483.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.1448, allocations: 184.2 kB / 483.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/0.1449, allocations: 101 kB / 483.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.1449, allocations: 75.28 kB / 483.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1449, allocations: 4 kB / 483.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007417/0.1457, allocations: 152 kB / 483.8 MB, free: 1.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0006568/0.1464, allocations: 342.8 kB / 484.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.791e-05/0.1464, allocations: 4 kB / 484.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1464, allocations: 0 / 484.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-06/0.1464, allocations: 3.938 kB / 484.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1468, allocations: 0.5224 MB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001525/0.1469, allocations: 171.8 kB / 484.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1472, allocations: 0.6731 MB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.1472, allocations: 11.44 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1472, allocations: 0 / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005279/0.1525, allocations: 2.913 MB / 488.4 MB, free: 12.95 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile clang++ NOTFOUND -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o] Error 1