Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008838/0.0008838, allocations: 96.98 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008234/0.0008233, allocations: 194.2 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.7 MB / 246.4 MB, free: 9.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8.219 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 63.57 MB / 482.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00254/0.153, allocations: 1.518 MB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1545, allocations: 0.9633 MB / 484.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.1546, allocations: 7.938 kB / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1549, allocations: 63.78 kB / 485 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.1552, allocations: 99.58 kB / 485.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.1557, allocations: 179.3 kB / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.156, allocations: 171.3 kB / 485.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1561, allocations: 21.55 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1562, allocations: 71.75 kB / 485.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1564, allocations: 95.62 kB / 485.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1564, allocations: 4 kB / 485.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.1565, allocations: 32 kB / 485.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.1566, allocations: 39.88 kB / 485.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.1567, allocations: 49.58 kB / 485.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1569, allocations: 136 kB / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1569, allocations: 0 / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1569, allocations: 0 / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1569, allocations: 0 / 485.8 MB, free: 1.047 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001019/0.1579, allocations: 0.5743 MB / 486.4 MB, free: 424 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.158, allocations: 8.031 kB / 486.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.158, allocations: 19.75 kB / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1583, allocations: 239.6 kB / 486.7 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1583, allocations: 4 kB / 486.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.1584, allocations: 8 kB / 486.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.1589, allocations: 173.5 kB / 486.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1589, allocations: 0 / 486.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.159, allocations: 4 kB / 486.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.159, allocations: 0 / 486.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.1597, allocations: 215.8 kB / 487.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008543/0.1605, allocations: 452.5 kB / 487.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.1613, allocations: 246.4 kB / 487.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.1617, allocations: 128.7 kB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.1617, allocations: 3.984 kB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.1622, allocations: 191.2 kB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.1622, allocations: 0 / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003503/0.1657, allocations: 1.071 MB / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1658, allocations: 63.59 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1661, allocations: 248 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.1661, allocations: 33.81 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.1662, allocations: 128 kB / 489.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.1663, allocations: 35.45 kB / 489.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.1663, allocations: 8 kB / 489.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1664, allocations: 334.8 kB / 490 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.1671, allocations: 219.8 kB / 490.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.1677, allocations: 228.8 kB / 490.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.1684, allocations: 267.2 kB / 490.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1684, allocations: 0 / 490.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001414/0.1698, allocations: 0.5512 MB / 491.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.1699, allocations: 63.39 kB / 491.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.1699, allocations: 4 kB / 491.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1699, allocations: 4 kB / 491.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.1704, allocations: 87.91 kB / 491.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1704, allocations: 3.953 kB / 491.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.1708, allocations: 91.91 kB / 491.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1708, allocations: 4 kB / 491.5 MB, free: 11.14 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: 10 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001469/0.1709, allocations: 141.8 kB / 491.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.171, allocations: 19.81 kB / 491.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.1725, allocations: 0.5065 MB / 492.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1725, allocations: 7.984 kB / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1725, allocations: 0 / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1725, allocations: 3.953 kB / 492.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.1743, allocations: 0.8172 MB / 493 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1743, allocations: 4 kB / 493 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.1746, allocations: 95.91 kB / 493.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1747, allocations: 0 / 493.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1747, allocations: 3.984 kB / 493.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1747, allocations: 7.953 kB / 493.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1747, allocations: 0 / 493.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.1761, allocations: 0.5732 MB / 493.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.1762, allocations: 100.9 kB / 493.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.1763, allocations: 4 kB / 493.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.1767, allocations: 83.91 kB / 493.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.1768, allocations: 59.86 kB / 493.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1769, allocations: 7.938 kB / 493.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.177, allocations: 181.8 kB / 494.1 MB, free: 8.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1771, allocations: 0 / 494.1 MB, free: 8.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.1774, allocations: 48 kB / 494.1 MB, free: 8.387 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009682/0.1783, allocations: 402.7 kB / 494.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.1798, allocations: 0.5718 MB / 495.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1799, allocations: 0 / 495.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.1806, allocations: 235.7 kB / 495.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.181, allocations: 50.91 kB / 495.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.1819, allocations: 390 kB / 495.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1823, allocations: 0.736 MB / 496.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.1824, allocations: 25.42 kB / 496.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.1825, allocations: 23.42 kB / 496.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1825, allocations: 0 / 496.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of Templates: time 0.006566/0.1891, allocations: 3.016 MB / 499.6 MB, free: 3.031 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)