Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009524/0.0009529, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009306/0.0009306, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.25/0.25, allocations: 46.18 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002598, allocations: 12 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 63.56 MB / 482.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002116/0.1548, allocations: 1.357 MB / 483.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1564, allocations: 1.093 MB / 484.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.1564, allocations: 0 / 484.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1566, allocations: 15.92 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1569, allocations: 67.75 kB / 484.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1573, allocations: 119.3 kB / 485.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1574, allocations: 59.81 kB / 485.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.1575, allocations: 12 kB / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.1575, allocations: 23.86 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1577, allocations: 39.77 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1577, allocations: 8 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1579, allocations: 83.89 kB / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.1579, allocations: 19.92 kB / 485.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.158, allocations: 29.64 kB / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1582, allocations: 103.8 kB / 485.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1582, allocations: 0 / 485.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1582, allocations: 0 / 485.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1582, allocations: 0 / 485.4 MB, free: 1.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005472/0.1587, allocations: 407.3 kB / 485.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1588, allocations: 8.031 kB / 485.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.1588, allocations: 11.91 kB / 485.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1591, allocations: 198.8 kB / 486 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.1591, allocations: 0 / 486 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1591, allocations: 4 kB / 486 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1593, allocations: 75.39 kB / 486.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1593, allocations: 4 kB / 486.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1593, allocations: 0 / 486.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1594, allocations: 0 / 486.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1595, allocations: 39.97 kB / 486.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.1599, allocations: 304.7 kB / 486.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.16, allocations: 42.56 kB / 486.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.1601, allocations: 28.94 kB / 486.5 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1602, allocations: 4 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1602, allocations: 30.56 kB / 486.6 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1602, allocations: 0 / 486.6 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007881/0.161, allocations: 257.2 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.1611, allocations: 81.06 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1612, allocations: 144.4 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/0.1613, allocations: 25.7 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1614, allocations: 100 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.1614, allocations: 23.66 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-06/0.1614, allocations: 0 / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1615, allocations: 322.8 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1616, allocations: 43.97 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1618, allocations: 57.69 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1619, allocations: 43.97 kB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1619, allocations: 0 / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002648/0.1622, allocations: 129.6 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1622, allocations: 4 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1622, allocations: 0 / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1622, allocations: 0 / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1623, allocations: 35.86 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1624, allocations: 3.938 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.1624, allocations: 23.94 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.1624, allocations: 0 / 487.8 MB, free: 14.83 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 (7): * Single equations (assignments): 7 * 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 8.571e-05/0.1625, allocations: 114.4 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1626, allocations: 7.906 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.1629, allocations: 146.6 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.163, allocations: 0 / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.163, allocations: 4 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.163, allocations: 4 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.1635, allocations: 414.4 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1635, allocations: 0 / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.1636, allocations: 19.98 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1637, allocations: 4 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1637, allocations: 0 / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1637, allocations: 0 / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1637, allocations: 3.953 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.164, allocations: 227.3 kB / 488.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.1641, allocations: 89.02 kB / 488.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1641, allocations: 7.984 kB / 488.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.1642, allocations: 12 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1643, allocations: 15.94 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1643, allocations: 4 kB / 488.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.052e-05/0.1644, allocations: 113.8 kB / 489 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1644, allocations: 4 kB / 489 MB, free: 13.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1647, allocations: 36 kB / 489 MB, free: 13.52 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 (7): * Single equations (assignments): 7 * 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.001142/0.1659, allocations: 498.4 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.1662, allocations: 95.88 kB / 489.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1662, allocations: 4 kB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1663, allocations: 47.97 kB / 489.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.1667, allocations: 15.98 kB / 489.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.1672, allocations: 233.2 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1676, allocations: 0.6983 MB / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.1676, allocations: 15.98 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.1677, allocations: 15.44 kB / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1677, allocations: 0 / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.00485/0.1726, allocations: 1.802 MB / 492.4 MB, free: 10.22 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches