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.0008498/0.0008499, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009522/0.0009524, allocations: 184.8 kB / 16.92 MB, free: 6.891 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.664/1.664, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.4171/0.4171, allocations: 43.56 MB / 315 MB, free: 8.758 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.0005496/0.0005499, allocations: 12 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1498, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005819/0.1504, allocations: 232.4 kB / 443.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.153, allocations: 2 MB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-06/0.153, allocations: 0 / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.207e-06/0.153, allocations: 0 / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.613e-06/0.153, allocations: 0 / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.1544, allocations: 470.9 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.293e-05/0.1544, allocations: 0 / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.936e-05/0.1545, allocations: 4 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-06/0.1545, allocations: 0 / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.085e-05/0.1545, allocations: 0 / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-06/0.1545, allocations: 3.938 kB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.1556, allocations: 0.8771 MB / 447 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-06/0.1556, allocations: 0 / 447 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.1557, allocations: 25.7 kB / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008704/0.1566, allocations: 0.7835 MB / 447.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1566, allocations: 0 / 447.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1566, allocations: 4 kB / 447.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1566, allocations: 0 / 447.8 MB, free: 8.273 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.000363/0.157, allocations: 379.6 kB / 448.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.157, allocations: 8.031 kB / 448.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.1571, allocations: 76.22 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1572, allocations: 235.7 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.1573, allocations: 150.9 kB / 448.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.1573, allocations: 158.9 kB / 448.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.978e-05/0.1574, allocations: 109.2 kB / 448.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.1575, allocations: 79.22 kB / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.1575, allocations: 150.6 kB / 449.1 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.1576, allocations: 150.6 kB / 449.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.436e-05/0.1576, allocations: 154.6 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.1579, allocations: 449.9 kB / 449.9 MB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.158, allocations: 169.1 kB / 450 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.1581, allocations: 80.14 kB / 450.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1581, allocations: 75.28 kB / 450.2 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.1582, allocations: 117.8 kB / 450.3 MB, free: 5.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1582, allocations: 0 / 450.3 MB, free: 5.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.511e-05/0.1583, allocations: 29.7 kB / 450.3 MB, free: 5.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.1583, allocations: 156.3 kB / 450.5 MB, free: 5.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.377e-05/0.1584, allocations: 89.86 kB / 450.6 MB, free: 5.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1584, allocations: 25.7 kB / 450.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.1584, allocations: 84.12 kB / 450.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.1584, allocations: 4 kB / 450.7 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.1585, allocations: 9.719 kB / 450.7 MB, free: 5.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1586, allocations: 310.8 kB / 451 MB, free: 4.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-06/0.1586, allocations: 0 / 451 MB, free: 4.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.1586, allocations: 4 kB / 451 MB, free: 4.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.1587, allocations: 75.28 kB / 451.1 MB, free: 4.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.386e-05/0.1587, allocations: 75.28 kB / 451.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.822e-05/0.1587, allocations: 29.7 kB / 451.2 MB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.1588, allocations: 91.25 kB / 451.3 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.1588, allocations: 79.22 kB / 451.3 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.765e-05/0.1589, allocations: 150.6 kB / 451.5 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.48e-05/0.1589, allocations: 83.2 kB / 451.6 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.934e-05/0.159, allocations: 158.5 kB / 451.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.1591, allocations: 75.28 kB / 451.8 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.1591, allocations: 83.22 kB / 451.9 MB, free: 3.961 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.0001383/0.1592, allocations: 268.4 kB / 452.1 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1593, allocations: 104.9 kB / 452.2 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.1594, allocations: 116.1 kB / 452.4 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.638e-05/0.1594, allocations: 176.3 kB / 452.5 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.544e-05/0.1595, allocations: 184.3 kB / 452.7 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.049e-05/0.1596, allocations: 180.2 kB / 452.9 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1598, allocations: 405.4 kB / 453.3 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-05/0.1599, allocations: 104.9 kB / 453.4 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.1599, allocations: 109 kB / 453.5 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-05/0.16, allocations: 180.2 kB / 453.7 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/0.1601, allocations: 188.2 kB / 453.9 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.968e-05/0.1602, allocations: 184.3 kB / 454 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.87e-05/0.1602, allocations: 188.2 kB / 454.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.1604, allocations: 299.8 kB / 454.5 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.1605, allocations: 186.1 kB / 454.7 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.003e-05/0.1605, allocations: 184.2 kB / 454.9 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.1606, allocations: 104.9 kB / 455 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.1607, allocations: 184.3 kB / 455.2 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.1608, allocations: 104.9 kB / 455.3 MB, free: 368 kB / 382.1 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.1608, allocations: 75.28 kB / 455.3 MB, free: 292 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1608, allocations: 0 / 455.3 MB, free: 292 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005789/0.1614, allocations: 152.2 kB / 455.5 MB, free: 140 kB / 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.2142/0.3756, allocations: 325.4 kB / 455.8 MB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.475e-05/0.3757, allocations: 0 / 455.8 MB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.3757, allocations: 2.969 kB / 455.8 MB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.3757, allocations: 0 / 455.8 MB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3761, allocations: 0.5224 MB / 456.3 MB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001255/0.3762, allocations: 150.7 kB / 456.5 MB, free: 46.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.095e-05/0.3763, allocations: 0.673 MB / 457.1 MB, free: 45.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.002e-05/0.3763, allocations: 4.344 kB / 457.1 MB, free: 45.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-06/0.3763, allocations: 7.438 kB / 457.2 MB, free: 45.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3763, allocations: 0 / 457.2 MB, free: 45.75 MB / 382.1 MB Notification: Performance of Templates: time 0.006114/0.3825, allocations: 3.373 MB / 460.5 MB, free: 45.63 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