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.001146/0.001146, allocations: 94.59 kB / 16.98 MB, free: 5.941 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.001292/0.001292, allocations: 183.1 kB / 17.88 MB, free: 5.609 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.422/1.422, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.23 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 8.5 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008743/0.1588, allocations: 217.2 kB / 471.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003415/0.1622, allocations: 1.877 MB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-06/0.1622, allocations: 0 / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.079e-06/0.1622, allocations: 0 / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.402e-06/0.1622, allocations: 0 / 473.5 MB, free: 11.63 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.001698/0.1639, allocations: 436.2 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.673e-05/0.164, allocations: 8 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.164, allocations: 3.984 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-06/0.164, allocations: 0 / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.539e-05/0.164, allocations: 0 / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-06/0.1641, allocations: 0 / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.1651, allocations: 0.7019 MB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-06/0.1652, allocations: 7.875 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.1652, allocations: 25.7 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.1658, allocations: 0.5186 MB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1658, allocations: 4 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1659, allocations: 0 / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1659, allocations: 0 / 475.2 MB, free: 9.93 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.0004046/0.1663, allocations: 371.4 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.1663, allocations: 8.562 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.1664, allocations: 83.22 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1665, allocations: 242.3 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.1666, allocations: 162.5 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.1667, allocations: 154.5 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.203e-05/0.1668, allocations: 101 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.178e-05/0.1669, allocations: 75.28 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.167, allocations: 150.6 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.1671, allocations: 150.6 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.832e-05/0.1672, allocations: 154.6 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1676, allocations: 449.9 kB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1677, allocations: 165.1 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.1678, allocations: 75.28 kB / 477.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/0.1678, allocations: 117.8 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.1678, allocations: 0 / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.54e-05/0.1679, allocations: 37.64 kB / 477.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.168, allocations: 152.4 kB / 477.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.968e-05/0.1681, allocations: 89.86 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1681, allocations: 25.7 kB / 477.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.1682, allocations: 84.12 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.1682, allocations: 4 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.1682, allocations: 0 / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1683, allocations: 310.8 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.1683, allocations: 0 / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.1684, allocations: 4 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.087e-05/0.1684, allocations: 75.28 kB / 478.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.944e-05/0.1685, allocations: 75.28 kB / 478.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.333e-05/0.1685, allocations: 33.73 kB / 478.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.1686, allocations: 87.31 kB / 478.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/0.1686, allocations: 79.22 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.366e-05/0.1687, allocations: 158.5 kB / 478.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-05/0.1688, allocations: 79.22 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.153e-05/0.1688, allocations: 154.6 kB / 479.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.1689, allocations: 75.28 kB / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.169, allocations: 79.22 kB / 479.2 MB, free: 5.715 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.0001375/0.1691, allocations: 274.6 kB / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.1692, allocations: 105 kB / 479.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.1693, allocations: 112 kB / 479.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-05/0.1693, allocations: 180.2 kB / 479.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001064/0.1695, allocations: 184.2 kB / 480 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.187e-05/0.1695, allocations: 180.3 kB / 480.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.1698, allocations: 401.2 kB / 480.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-05/0.1699, allocations: 104.9 kB / 480.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.1699, allocations: 105.3 kB / 480.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.17, allocations: 184.2 kB / 481 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.1702, allocations: 184.3 kB / 481.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.275e-05/0.1702, allocations: 180.3 kB / 481.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001073/0.1703, allocations: 188.2 kB / 481.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.1705, allocations: 307.8 kB / 481.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.1706, allocations: 178.1 kB / 482 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/0.1707, allocations: 180.3 kB / 482.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.1708, allocations: 108.9 kB / 482.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.1709, allocations: 180.3 kB / 482.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.1709, allocations: 116.9 kB / 482.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.171, allocations: 75.28 kB / 482.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.171, allocations: 0 / 482.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006588/0.1717, allocations: 140 kB / 482.8 MB, free: 1.902 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.0007722/0.1724, allocations: 337.1 kB / 483.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.97e-05/0.1725, allocations: 4 kB / 483.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1725, allocations: 3.938 kB / 483.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1725, allocations: 0 / 483.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1729, allocations: 0.5185 MB / 483.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.1731, allocations: 154 kB / 483.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1734, allocations: 0.6692 MB / 484.5 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.312e-05/0.1734, allocations: 4 kB / 484.5 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.1734, allocations: 7.438 kB / 484.5 MB, free: 160 kB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1735, allocations: 0 / 484.5 MB, free: 160 kB / 350.1 MB Notification: Performance of Templates: time 0.007331/0.1808, allocations: 3.108 MB / 487.6 MB, free: 13.04 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches