Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 180.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000843/0.0008431, allocations: 98.33 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4001/0.4001, allocations: 43.56 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004199, allocations: 8 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006914/0.1554, allocations: 232.3 kB / 490.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.1586, allocations: 2.048 MB / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.1587, allocations: 0 / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.1587, allocations: 0 / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.175e-06/0.1587, allocations: 0 / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.1606, allocations: 0.6394 MB / 493.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.495e-05/0.1606, allocations: 4 kB / 493.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.1607, allocations: 0 / 493.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.21e-05/0.1607, allocations: 0 / 493.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.1607, allocations: 0 / 493.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.114e-06/0.1607, allocations: 0 / 493.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.1626, allocations: 1.35 MB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.1626, allocations: 0 / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.1627, allocations: 25.7 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1638, allocations: 1.15 MB / 495.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1638, allocations: 0 / 495.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.1638, allocations: 0 / 495.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1638, allocations: 4 kB / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006275/0.1645, allocations: 416.7 kB / 496.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1645, allocations: 12.03 kB / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.1646, allocations: 7.953 kB / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1647, allocations: 159.1 kB / 496.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1647, allocations: 0 / 496.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1647, allocations: 0 / 496.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1648, allocations: 33.69 kB / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1649, allocations: 0 / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1649, allocations: 0 / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1649, allocations: 0 / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.1649, allocations: 7.891 kB / 496.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1651, allocations: 157.6 kB / 496.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/0.1652, allocations: 14.58 kB / 496.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.1652, allocations: 4.859 kB / 496.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1652, allocations: 0 / 496.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/0.1653, allocations: 64.34 kB / 496.5 MB, free: 4.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.1653, allocations: 0 / 496.5 MB, free: 4.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002087/0.1655, allocations: 71.34 kB / 496.6 MB, free: 4.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.1656, allocations: 77.11 kB / 496.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.922e-05/0.1656, allocations: 89.86 kB / 496.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1656, allocations: 25.7 kB / 496.8 MB, free: 4.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.1657, allocations: 84.08 kB / 496.9 MB, free: 4.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1657, allocations: 0 / 496.9 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1657, allocations: 0 / 496.9 MB, free: 4.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1659, allocations: 322.8 kB / 497.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-06/0.1659, allocations: 4.125 kB / 497.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-06/0.1659, allocations: 4 kB / 497.2 MB, free: 3.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.166, allocations: 25.7 kB / 497.2 MB, free: 3.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.166, allocations: 4 kB / 497.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.643e-05/0.166, allocations: 59.34 kB / 497.3 MB, free: 3.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.1661, allocations: 37.69 kB / 497.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1661, allocations: 0 / 497.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1661, allocations: 0 / 497.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.1662, allocations: 0 / 497.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1662, allocations: 96 / 497.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.1662, allocations: 4 kB / 497.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1662, allocations: 0 / 497.3 MB, free: 3.617 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.546e-05/0.1663, allocations: 143.5 kB / 497.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.1663, allocations: 4 kB / 497.5 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.178e-05/0.1663, allocations: 3.125 kB / 497.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.1663, allocations: 0 / 497.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1663, allocations: 4 kB / 497.5 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1664, allocations: 3.984 kB / 497.5 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1665, allocations: 149.9 kB / 497.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1665, allocations: 4 kB / 497.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1665, allocations: 0 / 497.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1665, allocations: 0 / 497.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1665, allocations: 4 kB / 497.6 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1665, allocations: 0 / 497.6 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1665, allocations: 0 / 497.6 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.877e-05/0.1666, allocations: 94.72 kB / 497.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.1667, allocations: 85.14 kB / 497.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1667, allocations: 0 / 497.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.1667, allocations: 3.938 kB / 497.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.1667, allocations: 7.969 kB / 497.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1667, allocations: 0 / 497.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.79e-05/0.1668, allocations: 75.28 kB / 497.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1668, allocations: 7.938 kB / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009654/0.1678, allocations: 271.9 kB / 498.2 MB, free: 2.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001335/0.1691, allocations: 409.8 kB / 498.6 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.1693, allocations: 59.41 kB / 498.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1693, allocations: 0 / 498.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.1693, allocations: 59.34 kB / 498.7 MB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1694, allocations: 3.953 kB / 498.7 MB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.1697, allocations: 112.4 kB / 498.8 MB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.17, allocations: 0.6692 MB / 499.5 MB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.17, allocations: 11.44 kB / 499.5 MB, free: 1.277 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.17, allocations: 3.938 kB / 499.5 MB, free: 1.273 MB / 378.7 MB Notification: Performance of Templates: time 0.2496/0.4196, allocations: 6.744 MB / 0.4944 GB, free: 40.91 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches