Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4187/0.4187, allocations: 43.49 MB / 313.5 MB, free: 8.25 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 71.89 kB / 382 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1505, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001767/0.1523, allocations: 0.5542 MB / 440.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.1553, allocations: 2.027 MB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-06/0.1553, allocations: 3.938 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.428e-06/0.1553, allocations: 0 / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.112e-06/0.1553, allocations: 0 / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.1567, allocations: 474.7 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.833e-05/0.1567, allocations: 0 / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.719e-05/0.1567, allocations: 7.938 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.997e-06/0.1568, allocations: 0 / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.06e-05/0.1568, allocations: 0 / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-06/0.1568, allocations: 0 / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.1579, allocations: 0.8771 MB / 443.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-06/0.158, allocations: 4 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.316e-05/0.158, allocations: 0 / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.1589, allocations: 0.7835 MB / 444.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1589, allocations: 4 kB / 444.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1589, allocations: 0 / 444.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1589, allocations: 0 / 444.5 MB, free: 9.875 MB / 382.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.0003739/0.1593, allocations: 371.6 kB / 444.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1593, allocations: 8.031 kB / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.1594, allocations: 76.22 kB / 445 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1595, allocations: 243.7 kB / 445.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.1596, allocations: 154.9 kB / 445.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1597, allocations: 154.9 kB / 445.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1598, allocations: 109.3 kB / 445.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.1598, allocations: 75.28 kB / 445.7 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/0.1599, allocations: 150.6 kB / 445.8 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/0.16, allocations: 162.5 kB / 446 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.978e-05/0.1601, allocations: 150.6 kB / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.1604, allocations: 442 kB / 446.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.1604, allocations: 169.1 kB / 446.8 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.1605, allocations: 84.14 kB / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1605, allocations: 75.28 kB / 446.9 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.1606, allocations: 113.7 kB / 447 MB, free: 7.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.1606, allocations: 0 / 447 MB, free: 7.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.492e-05/0.1607, allocations: 29.69 kB / 447 MB, free: 7.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.1608, allocations: 156.4 kB / 447.2 MB, free: 7.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.643e-05/0.1609, allocations: 97.86 kB / 447.3 MB, free: 6.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1609, allocations: 25.7 kB / 447.3 MB, free: 6.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.1609, allocations: 80.14 kB / 447.4 MB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.1609, allocations: 0 / 447.4 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.1609, allocations: 9.719 kB / 447.4 MB, free: 6.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.161, allocations: 314.8 kB / 447.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-06/0.1611, allocations: 4 kB / 447.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.1611, allocations: 4 kB / 447.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.1611, allocations: 79.31 kB / 447.8 MB, free: 6.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-05/0.1611, allocations: 79.22 kB / 447.9 MB, free: 6.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.167e-05/0.1612, allocations: 33.69 kB / 447.9 MB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.1613, allocations: 83.22 kB / 448 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.1613, allocations: 75.28 kB / 448.1 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.371e-05/0.1614, allocations: 158.5 kB / 448.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.211e-05/0.1614, allocations: 79.28 kB / 448.3 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.271e-05/0.1615, allocations: 158.5 kB / 448.5 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.1615, allocations: 75.28 kB / 448.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1616, allocations: 75.28 kB / 448.6 MB, free: 5.562 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.1617, allocations: 272.3 kB / 448.9 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.1617, allocations: 116.9 kB / 449 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.1618, allocations: 108.1 kB / 449.1 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.753e-05/0.1619, allocations: 180.2 kB / 449.3 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.837e-05/0.1619, allocations: 184.2 kB / 449.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/0.162, allocations: 180.2 kB / 449.6 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1622, allocations: 401.4 kB / 450 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.1623, allocations: 105 kB / 450.1 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.1623, allocations: 113 kB / 450.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.1625, allocations: 184.2 kB / 450.4 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.1625, allocations: 176.3 kB / 450.6 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.438e-05/0.1626, allocations: 184.2 kB / 450.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.927e-05/0.1627, allocations: 176.3 kB / 450.9 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.1629, allocations: 311.8 kB / 451.2 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-05/0.1631, allocations: 178.1 kB / 451.4 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.1632, allocations: 188.1 kB / 451.6 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.1633, allocations: 109 kB / 451.7 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.1634, allocations: 184.2 kB / 451.9 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.1634, allocations: 105 kB / 452 MB, free: 1.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.1635, allocations: 75.28 kB / 452.1 MB, free: 1.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1635, allocations: 0 / 452.1 MB, free: 1.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005993/0.1641, allocations: 144.3 kB / 452.2 MB, free: 1.742 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006537/0.1647, allocations: 346 kB / 452.5 MB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.382e-05/0.1648, allocations: 7.938 kB / 452.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1648, allocations: 0 / 452.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.1648, allocations: 0 / 452.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1651, allocations: 0.5224 MB / 453.1 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.1653, allocations: 153.9 kB / 453.2 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2058/0.371, allocations: 0.6692 MB / 453.9 MB, free: 49.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.56e-05/0.3711, allocations: 1.125 kB / 453.9 MB, free: 49.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.3712, allocations: 8.625 kB / 453.9 MB, free: 49.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3712, allocations: 0 / 453.9 MB, free: 49.12 MB / 382.1 MB Notification: Performance of Templates: time 0.006202/0.3774, allocations: 3.364 MB / 457.3 MB, free: 49.01 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches