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.000893/0.0008931, allocations: 96.78 kB / 15.7 MB, free: 468 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.001431/0.001431, allocations: 174.2 kB / 16.58 MB, free: 5.926 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.725/1.725, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.4302/0.4302, allocations: 43.57 MB / 314.6 MB, free: 8.754 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.000541/0.000541, allocations: 14.97 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0006782/0.153, allocations: 220.4 kB / 443 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.1557, allocations: 1.923 MB / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-06/0.1557, allocations: 0 / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.598e-06/0.1558, allocations: 0 / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.703e-06/0.1558, allocations: 0 / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.1571, allocations: 466.9 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.678e-05/0.1572, allocations: 4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.766e-05/0.1572, allocations: 3.938 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.362e-05/0.1572, allocations: 3.984 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.537e-05/0.1572, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-06/0.1572, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.1584, allocations: 0.8264 MB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-06/0.1584, allocations: 4 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.1584, allocations: 29.7 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.159, allocations: 0.5381 MB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1591, allocations: 0 / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1591, allocations: 0 / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1591, allocations: 3.938 kB / 446.8 MB, free: 8.996 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.0003281/0.1594, allocations: 379.3 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1595, allocations: 16.02 kB / 447.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.1595, allocations: 83.17 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1596, allocations: 246.3 kB / 447.5 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.1597, allocations: 150.6 kB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.1598, allocations: 150.6 kB / 447.8 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.765e-05/0.1598, allocations: 101 kB / 447.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.1599, allocations: 75.28 kB / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.1599, allocations: 150.6 kB / 448.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.16, allocations: 158.6 kB / 448.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.16, allocations: 158.5 kB / 448.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.1603, allocations: 442 kB / 448.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.1604, allocations: 165.1 kB / 449 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.1604, allocations: 84.14 kB / 449.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1605, allocations: 75.28 kB / 449.2 MB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.1605, allocations: 117.8 kB / 449.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1605, allocations: 0 / 449.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.161e-05/0.1606, allocations: 33.69 kB / 449.3 MB, free: 6.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.1607, allocations: 152.4 kB / 449.5 MB, free: 6.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.654e-05/0.1607, allocations: 93.86 kB / 449.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.1607, allocations: 25.7 kB / 449.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.1608, allocations: 84.14 kB / 449.7 MB, free: 5.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.1608, allocations: 0 / 449.7 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.1608, allocations: 0 / 449.7 MB, free: 5.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1609, allocations: 314.8 kB / 450 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-06/0.1609, allocations: 0 / 450 MB, free: 5.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.1609, allocations: 0 / 450 MB, free: 5.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.161, allocations: 79.31 kB / 450.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.93e-05/0.161, allocations: 75.28 kB / 450.1 MB, free: 5.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.01e-05/0.1611, allocations: 37.62 kB / 450.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.1611, allocations: 79.28 kB / 450.3 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.1612, allocations: 75.28 kB / 450.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-05/0.1612, allocations: 162.5 kB / 450.5 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.614e-05/0.1613, allocations: 79.22 kB / 450.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.056e-05/0.1613, allocations: 158.5 kB / 450.7 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.1614, allocations: 75.28 kB / 450.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.1614, allocations: 79.28 kB / 450.9 MB, free: 4.688 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.1616, allocations: 264.3 kB / 451.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.1616, allocations: 108.9 kB / 451.2 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.1617, allocations: 112.2 kB / 451.4 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/0.1617, allocations: 184.2 kB / 451.5 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/0.1618, allocations: 176.3 kB / 451.7 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.588e-05/0.1619, allocations: 180.2 kB / 451.9 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.1621, allocations: 409.4 kB / 452.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/0.1621, allocations: 104.9 kB / 452.4 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.1622, allocations: 117 kB / 452.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.027e-05/0.1623, allocations: 180.2 kB / 452.7 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.1623, allocations: 180.3 kB / 452.8 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.823e-05/0.1624, allocations: 180.2 kB / 453 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.932e-05/0.1625, allocations: 176.3 kB / 453.2 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.1626, allocations: 315.7 kB / 453.5 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.1627, allocations: 178.1 kB / 453.7 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.1629, allocations: 184.2 kB / 453.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.1629, allocations: 105 kB / 454 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.163, allocations: 188.2 kB / 454.1 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.1631, allocations: 105 kB / 454.2 MB, free: 1.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.1631, allocations: 79.28 kB / 454.3 MB, free: 1.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1631, allocations: 0 / 454.3 MB, free: 1.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006107/0.1637, allocations: 140.3 kB / 454.5 MB, free: 0.875 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 (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.0008145/0.1645, allocations: 334.2 kB / 454.8 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.803e-05/0.1646, allocations: 0 / 454.8 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1646, allocations: 0 / 454.8 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.1646, allocations: 3.938 kB / 454.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1651, allocations: 0.5338 MB / 455.3 MB, free: 0 / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2244/0.3895, allocations: 141.3 kB / 455.5 MB, free: 47.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.949e-05/0.3896, allocations: 0.6725 MB / 456.1 MB, free: 46.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.387e-06/0.3896, allocations: 0 / 456.1 MB, free: 46.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.3897, allocations: 7.438 kB / 456.1 MB, free: 46.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3897, allocations: 0 / 456.1 MB, free: 46.7 MB / 382.1 MB Notification: Performance of Templates: time 0.00638/0.396, allocations: 3.409 MB / 459.6 MB, free: 46.59 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