Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 100.7 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001424, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 45.9 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 4 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0006633/0.1512, allocations: 213.2 kB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.1549, allocations: 1.926 MB / 483.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-06/0.1549, allocations: 0 / 483.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.659e-06/0.1549, allocations: 0 / 483.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.563e-06/0.1549, allocations: 0 / 483.5 MB, free: 3.289 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001816/0.1567, allocations: 437.4 kB / 483.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.509e-05/0.1568, allocations: 3.984 kB / 483.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.1568, allocations: 0 / 483.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-06/0.1568, allocations: 0 / 483.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.438e-05/0.1569, allocations: 0 / 483.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.1569, allocations: 0 / 483.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.1583, allocations: 0.7252 MB / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.1583, allocations: 3.984 kB / 484.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.1584, allocations: 25.7 kB / 484.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008279/0.1592, allocations: 0.5225 MB / 485.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1592, allocations: 0 / 485.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1592, allocations: 0 / 485.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1592, allocations: 0 / 485.2 MB, free: 1.578 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.0004714/0.1597, allocations: 379.3 kB / 485.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1598, allocations: 8.031 kB / 485.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.1599, allocations: 75.28 kB / 485.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1601, allocations: 242.3 kB / 485.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.1602, allocations: 154.6 kB / 486.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.1602, allocations: 158.5 kB / 486.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.1603, allocations: 101 kB / 486.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.1604, allocations: 75.28 kB / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.13e-05/0.1605, allocations: 154.6 kB / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.776e-05/0.1606, allocations: 158.5 kB / 486.7 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.1607, allocations: 150.6 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1611, allocations: 441.9 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1612, allocations: 177.1 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.1613, allocations: 79.28 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/0.1613, allocations: 105.8 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.1613, allocations: 0 / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.53e-05/0.1615, allocations: 25.7 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.1616, allocations: 164.3 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.1616, allocations: 93.84 kB / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1617, allocations: 25.7 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.1617, allocations: 84.14 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.1617, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-07/0.1617, allocations: 3.938 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1619, allocations: 310.8 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.1619, allocations: 0 / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.1619, allocations: 48 / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.162, allocations: 87.28 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.385e-05/0.1621, allocations: 79.23 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.036e-05/0.1622, allocations: 25.73 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.1622, allocations: 87.28 kB / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.531e-05/0.1623, allocations: 79.22 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.943e-05/0.1624, allocations: 150.6 kB / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-05/0.1624, allocations: 83.2 kB / 488.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-05/0.1625, allocations: 150.6 kB / 489 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1626, allocations: 79.28 kB / 489.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.1627, allocations: 87.22 kB / 489.2 MB, free: 13.35 MB / 366.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.0001488/0.1628, allocations: 256.9 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.163, allocations: 108.9 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.054e-05/0.163, allocations: 112 kB / 489.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.187e-05/0.1631, allocations: 176.3 kB / 489.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.952e-05/0.1632, allocations: 180.3 kB / 490 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.917e-05/0.1633, allocations: 188.4 kB / 490.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.1637, allocations: 397.2 kB / 490.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.525e-05/0.1638, allocations: 105 kB / 490.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.1639, allocations: 113 kB / 490.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.164, allocations: 188.2 kB / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.1641, allocations: 184.3 kB / 491.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001033/0.1642, allocations: 176.3 kB / 491.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001022/0.1643, allocations: 184.2 kB / 491.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1645, allocations: 303.8 kB / 491.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1647, allocations: 186.1 kB / 492 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1648, allocations: 184.2 kB / 492.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1649, allocations: 104.9 kB / 492.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.165, allocations: 180.3 kB / 492.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.1651, allocations: 104.9 kB / 492.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.483e-05/0.1651, allocations: 75.28 kB / 492.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1651, allocations: 4 kB / 492.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009645/0.1661, allocations: 140 kB / 492.8 MB, free: 9.559 MB / 366.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.0009619/0.1671, allocations: 352.1 kB / 493.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.825e-05/0.1671, allocations: 0 / 493.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1671, allocations: 0 / 493.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1672, allocations: 0 / 493.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1675, allocations: 0.5204 MB / 493.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/0.1676, allocations: 154 kB / 493.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1681, allocations: 0.6731 MB / 494.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.195e-05/0.1681, allocations: 0 / 494.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.1681, allocations: 11.44 kB / 494.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1681, allocations: 0 / 494.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of Templates: time 0.009328/0.1775, allocations: 3.103 MB / 497.6 MB, free: 4.691 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches