Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 104.2 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001813, allocations: 209.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 73.33 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1569, allocations: 62.44 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004929/0.1619, allocations: 1.728 MB / 481 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1636, allocations: 0.5806 MB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.1637, allocations: 11.94 kB / 481.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.1642, allocations: 47.88 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.1646, allocations: 75.73 kB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.1652, allocations: 167.2 kB / 481.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.1655, allocations: 79.77 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1656, allocations: 20.23 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.1657, allocations: 35.83 kB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1658, allocations: 39.84 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1658, allocations: 11.98 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.166, allocations: 43.98 kB / 482.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.1661, allocations: 23.86 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.1662, allocations: 35.73 kB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1664, allocations: 103.7 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1664, allocations: 0 / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1664, allocations: 0 / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1664, allocations: 0 / 482.3 MB, free: 2.719 MB / 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.0007364/0.1672, allocations: 415.3 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1672, allocations: 12.03 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.1673, allocations: 8.844 kB / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1676, allocations: 196.1 kB / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1677, allocations: 12.31 kB / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1678, allocations: 4.375 kB / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.168, allocations: 69.78 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1681, allocations: 0 / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.1681, allocations: 8 kB / 483 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1681, allocations: 0 / 483 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1683, allocations: 43.91 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.1691, allocations: 324.6 kB / 483.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.1695, allocations: 58.55 kB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.1696, allocations: 32.95 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.1696, allocations: 96 / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.1697, allocations: 42.44 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.1697, allocations: 0 / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00169/0.1714, allocations: 420.8 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.1714, allocations: 59.33 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1716, allocations: 174.2 kB / 484.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1717, allocations: 25.7 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.1718, allocations: 108 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1718, allocations: 31.47 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.1719, allocations: 33.7 kB / 484.3 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.172, allocations: 322.8 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1722, allocations: 51.95 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1723, allocations: 60 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1726, allocations: 132.9 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1726, allocations: 4 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003422/0.173, allocations: 153.5 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.173, allocations: 10.34 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.173, allocations: 0 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1731, allocations: 3.984 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1732, allocations: 32.47 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1732, allocations: 0 / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.1733, allocations: 23.92 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1733, allocations: 3.938 kB / 485.1 MB, free: 15.68 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 (11): * Single equations (assignments): 11 * 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.0001088/0.1734, allocations: 125.8 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1735, allocations: 19.8 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.1739, allocations: 178.3 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1739, allocations: 11.94 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.174, allocations: 0 / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.174, allocations: 0 / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.1747, allocations: 0.496 MB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1747, allocations: 4.062 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.1749, allocations: 27.92 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1749, allocations: 4 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1749, allocations: 4 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1749, allocations: 0 / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1749, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.1753, allocations: 276.9 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.1754, allocations: 92.94 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1754, allocations: 4 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1755, allocations: 4 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.1756, allocations: 11.98 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.1756, allocations: 4 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1757, allocations: 150.3 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1757, allocations: 0 / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.176, allocations: 28 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001121/0.1772, allocations: 453.2 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.1775, allocations: 127.8 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1776, allocations: 0 / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1777, allocations: 67.89 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1781, allocations: 28.05 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.1788, allocations: 341.9 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1791, allocations: 0.716 MB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1792, allocations: 32.52 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.1793, allocations: 15.44 kB / 488.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1793, allocations: 0 / 488.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.004741/0.184, allocations: 1.533 MB / 489.8 MB, free: 10.95 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches