Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 79.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1599, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003845/0.1638, allocations: 1.676 MB / 483.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.165, allocations: 0.5844 MB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.1651, allocations: 0 / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.1657, allocations: 459.1 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.1663, allocations: 291.3 kB / 484.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.1668, allocations: 183 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.1671, allocations: 175.6 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1673, allocations: 24.22 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1674, allocations: 115.7 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.1677, allocations: 215.6 kB / 485.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1677, allocations: 8 kB / 485.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1679, allocations: 47.98 kB / 485.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.168, allocations: 83.69 kB / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1681, allocations: 110.9 kB / 485.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.1685, allocations: 271 kB / 485.7 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1685, allocations: 0 / 485.7 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1685, allocations: 0 / 485.7 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1686, allocations: 0 / 485.7 MB, free: 320 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008232/0.1694, allocations: 0.653 MB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1694, allocations: 12.03 kB / 486.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.1695, allocations: 48.38 kB / 486.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.1699, allocations: 300.1 kB / 486.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1699, allocations: 384 / 486.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.17, allocations: 4.375 kB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1702, allocations: 65.73 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1702, allocations: 0 / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1702, allocations: 4 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1702, allocations: 0 / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1704, allocations: 39.91 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.171, allocations: 412.5 kB / 487.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1712, allocations: 50.55 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.1712, allocations: 20.94 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1713, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1713, allocations: 34.56 kB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1713, allocations: 0 / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001076/0.1724, allocations: 311.9 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1725, allocations: 59.28 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000827/0.1733, allocations: 0.8738 MB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1733, allocations: 29.7 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1735, allocations: 220.1 kB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.1736, allocations: 31.53 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.1736, allocations: 21.72 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1738, allocations: 362.8 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.1739, allocations: 27.98 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.174, allocations: 44.03 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1742, allocations: 76.75 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1742, allocations: 0 / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002514/0.1745, allocations: 145.1 kB / 489.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1745, allocations: 4 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1745, allocations: 0 / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1745, allocations: 0 / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1747, allocations: 23.98 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1747, allocations: 3.938 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.1747, allocations: 4 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1748, allocations: 0 / 489.5 MB, free: 12.25 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0002164/0.175, allocations: 217.8 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.175, allocations: 43.44 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.1754, allocations: 185.5 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1754, allocations: 0 / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1754, allocations: 3.938 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1755, allocations: 0 / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007661/0.1762, allocations: 0.5225 MB / 490.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1762, allocations: 3.938 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.1763, allocations: 20.02 kB / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1763, allocations: 4 kB / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1764, allocations: 4 kB / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1764, allocations: 0 / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1764, allocations: 0 / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.1767, allocations: 248.2 kB / 490.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1768, allocations: 128.4 kB / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1768, allocations: 0 / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.1769, allocations: 8 kB / 490.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.177, allocations: 7.984 kB / 490.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.177, allocations: 0 / 490.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006399/0.1777, allocations: 0.655 MB / 491.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1777, allocations: 0 / 491.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.1779, allocations: 31.98 kB / 491.6 MB, free: 10.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001161/0.1791, allocations: 454.4 kB / 492 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1794, allocations: 75.89 kB / 492.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1794, allocations: 4 kB / 492.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-05/0.1795, allocations: 43.91 kB / 492.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.18, allocations: 38.73 kB / 492.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1812, allocations: 0.8198 MB / 493 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.1817, allocations: 0.8338 MB / 493.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.661e-05/0.1817, allocations: 24.72 kB / 493.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.1818, allocations: 15.44 kB / 493.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1818, allocations: 0 / 493.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of Templates: time 0.005455/0.1873, allocations: 1.764 MB / 495.6 MB, free: 6.121 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches