Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 209.8 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.497/1.497, allocations: 227.4 MB / 246.3 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 77.22 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1518, allocations: 62.45 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004407/0.1563, allocations: 1.666 MB / 481 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1577, allocations: 0.5651 MB / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.1578, allocations: 0 / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008994/0.1587, allocations: 455.2 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007029/0.1595, allocations: 279.5 kB / 482.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.1602, allocations: 163 kB / 482.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.1605, allocations: 163.7 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1607, allocations: 11.98 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1609, allocations: 111.7 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.1614, allocations: 203.6 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.1614, allocations: 0 / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1615, allocations: 31.86 kB / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1617, allocations: 87.67 kB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1618, allocations: 99 kB / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1622, allocations: 239 kB / 483.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1622, allocations: 4 kB / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1622, allocations: 0 / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1623, allocations: 4 kB / 483.3 MB, free: 1.645 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00123/0.1635, allocations: 0.6416 MB / 484 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1636, allocations: 8.875 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/0.1637, allocations: 44.38 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.1642, allocations: 304.1 kB / 484.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1642, allocations: 384 / 484.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1643, allocations: 8.375 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1645, allocations: 57.8 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1645, allocations: 4 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1646, allocations: 0 / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1646, allocations: 0 / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1647, allocations: 39.91 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.1657, allocations: 392.8 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1659, allocations: 42.64 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.166, allocations: 24.94 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1661, allocations: 3.984 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.1661, allocations: 38.56 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.767e-06/0.1662, allocations: 0 / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004436/0.1666, allocations: 133 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1667, allocations: 51.41 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.1681, allocations: 0.8614 MB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1681, allocations: 25.7 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1683, allocations: 216.1 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1683, allocations: 7.844 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.1684, allocations: 17.72 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1686, allocations: 366.7 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.115e-05/0.1687, allocations: 19.98 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1687, allocations: 15.98 kB / 486.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1689, allocations: 48.77 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1689, allocations: 0 / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002111/0.1691, allocations: 109.1 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1691, allocations: 8 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1691, allocations: 3.938 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1692, allocations: 0 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.1693, allocations: 11.98 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.1693, allocations: 3.984 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.1693, allocations: 15.92 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1694, allocations: 0 / 486.8 MB, free: 13.93 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 (3): * Single equations (assignments): 3 * 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.0003007/0.1697, allocations: 213.7 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.1697, allocations: 39.44 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.17, allocations: 137.3 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.17, allocations: 48 / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.17, allocations: 3.984 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.17, allocations: 0 / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1704, allocations: 293.5 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1705, allocations: 0 / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.1705, allocations: 11.98 kB / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1705, allocations: 0 / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1705, allocations: 8 kB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1705, allocations: 0 / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1706, allocations: 0 / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1708, allocations: 210.8 kB / 487.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.1709, allocations: 108.6 kB / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1709, allocations: 0 / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.171, allocations: 11.98 kB / 487.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.1711, allocations: 4 kB / 487.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1711, allocations: 0 / 487.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008838/0.1719, allocations: 0.6511 MB / 488.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.172, allocations: 0 / 488.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1722, allocations: 27.98 kB / 488.5 MB, free: 12.12 MB / 366.1 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 (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.001025/0.1732, allocations: 341 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1735, allocations: 43.89 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1735, allocations: 0 / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.1736, allocations: 27.92 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1739, allocations: 26.3 kB / 489 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1756, allocations: 0.871 MB / 489.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/0.1764, allocations: 0.8223 MB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.384e-05/0.1765, allocations: 11.98 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.1765, allocations: 15.44 kB / 490.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1765, allocations: 0 / 490.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Templates: time 0.005831/0.1824, allocations: 1.256 MB / 491.9 MB, free: 8.781 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches