Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 100 kB / 17.01 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 196.5 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.19 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003023, allocations: 8.219 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 63.58 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002557/0.1566, allocations: 1.689 MB / 484.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1585, allocations: 1.053 MB / 485.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.1586, allocations: 0 / 485.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.1591, allocations: 251.3 kB / 485.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.1595, allocations: 235.3 kB / 485.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.1609, allocations: 0.5978 MB / 486.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.1614, allocations: 291.2 kB / 486.5 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.1616, allocations: 64.7 kB / 486.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1617, allocations: 119.5 kB / 486.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.162, allocations: 171.3 kB / 486.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.162, allocations: 8 kB / 486.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.1622, allocations: 83.95 kB / 487 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1624, allocations: 83.67 kB / 487 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1624, allocations: 69.45 kB / 487.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.1628, allocations: 255.8 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1628, allocations: 0 / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1628, allocations: 0 / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1628, allocations: 0 / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007953/0.1636, allocations: 0.6145 MB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1636, allocations: 9.109 kB / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.1637, allocations: 43.44 kB / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.1641, allocations: 317.1 kB / 488.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1641, allocations: 8 kB / 488.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.1642, allocations: 15.94 kB / 488.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.1645, allocations: 125.6 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1645, allocations: 0 / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1645, allocations: 4 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1645, allocations: 11.98 kB / 488.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1647, allocations: 95.86 kB / 488.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.1654, allocations: 0.5003 MB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1656, allocations: 114.5 kB / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.1657, allocations: 52.73 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1658, allocations: 7.984 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1658, allocations: 34.5 kB / 489.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1658, allocations: 0 / 489.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001055/0.1669, allocations: 463.1 kB / 489.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1669, allocations: 59.41 kB / 489.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/0.1676, allocations: 0.5643 MB / 490.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1676, allocations: 33.7 kB / 490.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1678, allocations: 200.4 kB / 490.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.1679, allocations: 59.09 kB / 490.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.1679, allocations: 4 kB / 490.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.168, allocations: 354.8 kB / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1682, allocations: 75.95 kB / 491.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1683, allocations: 67.95 kB / 491.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1685, allocations: 75.97 kB / 491.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1685, allocations: 0 / 491.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003763/0.1689, allocations: 243.2 kB / 491.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1689, allocations: 8 kB / 491.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1689, allocations: 0 / 491.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1689, allocations: 0 / 491.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1691, allocations: 31.98 kB / 491.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1691, allocations: 0 / 491.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.1692, allocations: 19.89 kB / 491.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1692, allocations: 8 kB / 491.5 MB, free: 11.21 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 (17): * Single equations (assignments): 17 * 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.0001811/0.1694, allocations: 181.7 kB / 491.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.1695, allocations: 43.52 kB / 491.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.17, allocations: 289.5 kB / 492 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.17, allocations: 0 / 492 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.17, allocations: 0 / 492 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1701, allocations: 7.984 kB / 492 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008924/0.171, allocations: 0.6916 MB / 492.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.171, allocations: 0 / 492.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1711, allocations: 39.91 kB / 492.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1711, allocations: 0 / 492.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1711, allocations: 8 kB / 492.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1711, allocations: 0 / 492.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1711, allocations: 0 / 492.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.1716, allocations: 342.8 kB / 493.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.1717, allocations: 120.6 kB / 493.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.1717, allocations: 4 kB / 493.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.1718, allocations: 8 kB / 493.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1718, allocations: 11.98 kB / 493.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1719, allocations: 15.92 kB / 493.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004487/0.1723, allocations: 431 kB / 493.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1723, allocations: 0 / 493.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.1727, allocations: 51.91 kB / 493.7 MB, free: 8.883 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 (17): * Single equations (assignments): 17 * 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.001635/0.1743, allocations: 0.6896 MB / 494.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.1747, allocations: 171.8 kB / 494.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1747, allocations: 0 / 494.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1749, allocations: 95.89 kB / 494.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.1754, allocations: 77.77 kB / 494.8 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1766, allocations: 0.801 MB / 495.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.1771, allocations: 0.8301 MB / 496.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.1773, allocations: 57.84 kB / 496.4 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.1773, allocations: 35.42 kB / 496.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1773, allocations: 4 kB / 496.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of Templates: time 0.008159/0.1855, allocations: 3.15 MB / 499.6 MB, free: 3.227 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches