Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.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.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001183, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.672/1.672, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008262/0.0008261, allocations: 99.83 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.5638/0.5638, allocations: 43.56 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004214, allocations: 16 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.002107/0.1591, allocations: 1.309 MB / 491.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1604, allocations: 0.8752 MB / 492.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.1605, allocations: 3.938 kB / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1607, allocations: 15.97 kB / 492.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.1609, allocations: 35.84 kB / 492.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.1612, allocations: 103.8 kB / 492.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1613, allocations: 51.84 kB / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1614, allocations: 12.17 kB / 492.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.342e-05/0.1615, allocations: 19.92 kB / 492.7 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1617, allocations: 35.22 kB / 492.7 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1617, allocations: 4 kB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1618, allocations: 35.98 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.1619, allocations: 19.91 kB / 492.8 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.1619, allocations: 33.7 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1621, allocations: 71.78 kB / 492.9 MB, free: 8.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.1621, allocations: 0 / 492.9 MB, free: 8.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1621, allocations: 0 / 492.9 MB, free: 8.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1621, allocations: 0 / 492.9 MB, free: 8.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006813/0.1628, allocations: 383.4 kB / 493.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1629, allocations: 12.02 kB / 493.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.747e-05/0.163, allocations: 15.86 kB / 493.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1632, allocations: 186.9 kB / 493.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1632, allocations: 0 / 493.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1632, allocations: 4 kB / 493.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1635, allocations: 79.33 kB / 493.5 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1635, allocations: 3.984 kB / 493.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1635, allocations: 0 / 493.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1635, allocations: 4 kB / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1637, allocations: 47.92 kB / 493.6 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.1641, allocations: 276.9 kB / 493.8 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1643, allocations: 50.48 kB / 493.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.1644, allocations: 28.94 kB / 493.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1644, allocations: 4 kB / 493.9 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1645, allocations: 30.56 kB / 494 MB, free: 7.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1645, allocations: 3.938 kB / 494 MB, free: 7.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009957/0.1655, allocations: 245.2 kB / 494.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.1656, allocations: 85.09 kB / 494.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1658, allocations: 125.8 kB / 494.4 MB, free: 6.594 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1658, allocations: 25.7 kB / 494.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.1659, allocations: 92.12 kB / 494.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.166, allocations: 19.66 kB / 494.5 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.166, allocations: 4 kB / 494.5 MB, free: 6.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1662, allocations: 322.8 kB / 494.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.1664, allocations: 43.91 kB / 494.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1665, allocations: 57.69 kB / 495 MB, free: 6.016 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1666, allocations: 39.97 kB / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1667, allocations: 0 / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003184/0.167, allocations: 125.5 kB / 495.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.167, allocations: 11.94 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.167, allocations: 0 / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1671, allocations: 288 / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1672, allocations: 31.98 kB / 495.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1672, allocations: 0 / 495.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.1673, allocations: 15.98 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1673, allocations: 4 kB / 495.2 MB, free: 5.785 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001018/0.1674, allocations: 113.8 kB / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1675, allocations: 11.89 kB / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.1678, allocations: 154.2 kB / 495.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1678, allocations: 0 / 495.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1678, allocations: 0 / 495.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1679, allocations: 4 kB / 495.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.1684, allocations: 410.4 kB / 495.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1684, allocations: 3.953 kB / 495.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.1685, allocations: 19.98 kB / 495.9 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1685, allocations: 4 kB / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1685, allocations: 3.984 kB / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1685, allocations: 0 / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1686, allocations: 0 / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.1689, allocations: 215.5 kB / 496.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1689, allocations: 96.91 kB / 496.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.169, allocations: 4 kB / 496.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.1691, allocations: 11.98 kB / 496.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.1691, allocations: 11.92 kB / 496.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1691, allocations: 4 kB / 496.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.779e-05/0.1692, allocations: 103.8 kB / 496.3 MB, free: 4.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1692, allocations: 0 / 496.3 MB, free: 4.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.1695, allocations: 31.98 kB / 496.4 MB, free: 4.504 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0009465/0.1704, allocations: 437.1 kB / 496.8 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.1708, allocations: 95.94 kB / 496.9 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1708, allocations: 0 / 496.9 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1709, allocations: 51.91 kB / 496.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1712, allocations: 12 kB / 496.9 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.1717, allocations: 222.9 kB / 497.2 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.172, allocations: 0.6848 MB / 497.8 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.1721, allocations: 23.42 kB / 497.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1721, allocations: 0 / 497.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of Templates: time 0.003558/0.1756, allocations: 1.696 MB / 499.6 MB, free: 1.277 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches