Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009512/0.0009513, 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.325/1.325, 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.0007612/0.0007612, allocations: 92.95 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.4571/0.4571, allocations: 43.56 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002191/0.1543, allocations: 1.27 MB / 491.5 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.155, allocations: 299.9 kB / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.155, allocations: 0 / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.1556, allocations: 447.1 kB / 492.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.156, allocations: 247.5 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1564, allocations: 135.8 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1566, allocations: 135.6 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1567, allocations: 12.16 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1568, allocations: 103.8 kB / 492.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1571, allocations: 171.7 kB / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1571, allocations: 0 / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.1572, allocations: 12 kB / 493 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1573, allocations: 91.67 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1573, allocations: 61.52 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1576, allocations: 171.8 kB / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1576, allocations: 0 / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1576, allocations: 0 / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1576, allocations: 0 / 493.4 MB, free: 8.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008235/0.1585, allocations: 0.6028 MB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1585, allocations: 16 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.1586, allocations: 47.48 kB / 494 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1589, allocations: 275.2 kB / 494.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.159, allocations: 4 kB / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.159, allocations: 4 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1592, allocations: 53.69 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1592, allocations: 0 / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1592, allocations: 7.984 kB / 494.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1592, allocations: 0 / 494.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1594, allocations: 47.92 kB / 494.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.16, allocations: 384.9 kB / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1601, allocations: 50.48 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.1602, allocations: 36.94 kB / 494.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1602, allocations: 0 / 494.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1603, allocations: 34.56 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1603, allocations: 0 / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003883/0.1607, allocations: 149 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.1607, allocations: 51.41 kB / 495.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008738/0.1616, allocations: 0.8574 MB / 496 MB, free: 5.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1616, allocations: 25.7 kB / 496 MB, free: 5.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1618, allocations: 208.1 kB / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1618, allocations: 7.906 kB / 496.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.1619, allocations: 0 / 496.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.162, allocations: 354.8 kB / 496.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.1621, allocations: 31.97 kB / 496.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.835e-05/0.1622, allocations: 19.98 kB / 496.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.1623, allocations: 27.92 kB / 496.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1623, allocations: 0 / 496.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002129/0.1625, allocations: 121.1 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1625, allocations: 14.27 kB / 496.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1625, allocations: 0 / 496.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1625, allocations: 7.891 kB / 496.8 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.1626, allocations: 12 kB / 496.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1627, allocations: 0 / 496.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.1627, allocations: 15.98 kB / 496.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1627, allocations: 0 / 496.8 MB, free: 4.43 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 (3): * Single equations (assignments): 3 * 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.0001841/0.1629, allocations: 209.7 kB / 497 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.163, allocations: 39.53 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.1633, allocations: 141.3 kB / 497.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1633, allocations: 0 / 497.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1633, allocations: 3.953 kB / 497.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1633, allocations: 0 / 497.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.1636, allocations: 289.5 kB / 497.4 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1636, allocations: 0 / 497.4 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.1636, allocations: 15.92 kB / 497.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1637, allocations: 0 / 497.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1637, allocations: 0 / 497.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1637, allocations: 4 kB / 497.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1637, allocations: 4 kB / 497.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1639, allocations: 207 kB / 497.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.164, allocations: 112.5 kB / 497.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1641, allocations: 11.98 kB / 497.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1642, allocations: 4 kB / 497.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1642, allocations: 0 / 497.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1642, allocations: 4 kB / 497.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006387/0.1649, allocations: 0.651 MB / 498.5 MB, free: 2.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1649, allocations: 0 / 498.5 MB, free: 2.652 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.1651, allocations: 16 kB / 498.5 MB, free: 2.637 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 (3): * Single equations (assignments): 3 * 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.0007516/0.1659, allocations: 359.2 kB / 498.8 MB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1661, allocations: 51.97 kB / 498.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1661, allocations: 0 / 498.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1662, allocations: 27.98 kB / 498.9 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1665, allocations: 17.95 kB / 498.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1676, allocations: 0.8507 MB / 499.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.1681, allocations: 0.8224 MB / 0.4889 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.1681, allocations: 11.44 kB / 0.4889 GB, free: 492 kB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.1681, allocations: 3.938 kB / 0.4889 GB, free: 488 kB / 378.7 MB Notification: Performance of Templates: time 0.2494/0.4176, allocations: 3.46 MB / 0.4922 GB, free: 42.19 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches