Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001757, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3395/0.3395, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 81.77 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 62.46 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.0043/0.1355, allocations: 1.856 MB / 482.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1378, allocations: 1.021 MB / 483.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.1379, allocations: 4 kB / 483.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1382, allocations: 63.73 kB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.1386, allocations: 119.4 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.1392, allocations: 163.3 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.1396, allocations: 199.4 kB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1397, allocations: 17.55 kB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1399, allocations: 79.69 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1401, allocations: 103.6 kB / 484.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1402, allocations: 12 kB / 484.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1403, allocations: 51.98 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1404, allocations: 47.77 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1405, allocations: 67.59 kB / 484.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1409, allocations: 187.7 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1409, allocations: 0 / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1409, allocations: 0 / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1409, allocations: 0 / 484.7 MB, free: 1.25 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.00138/0.1423, allocations: 0.5644 MB / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1424, allocations: 12.02 kB / 485.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.1424, allocations: 20.66 kB / 485.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1428, allocations: 236.9 kB / 485.6 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1428, allocations: 4.375 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.1429, allocations: 12.12 kB / 485.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.1436, allocations: 157.4 kB / 485.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1436, allocations: 0 / 485.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1436, allocations: 0 / 485.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1436, allocations: 0 / 485.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1447, allocations: 163.9 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.1453, allocations: 376.5 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1464, allocations: 194.4 kB / 486.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/0.147, allocations: 88.77 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.147, allocations: 7.938 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007949/0.1478, allocations: 163.2 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.615e-06/0.1479, allocations: 0 / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.00524/0.1531, allocations: 0.8125 MB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.1532, allocations: 55.34 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.1536, allocations: 243.2 kB / 487.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.1537, allocations: 33.69 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1538, allocations: 116.1 kB / 488 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.1539, allocations: 51.59 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.154, allocations: 33.7 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1542, allocations: 326.8 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.1552, allocations: 171.7 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.1563, allocations: 163.8 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.1582, allocations: 363.9 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1582, allocations: 4.109 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002243/0.1605, allocations: 462.9 kB / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.1606, allocations: 63.41 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1606, allocations: 0 / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.1606, allocations: 0 / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.1612, allocations: 67.84 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1612, allocations: 3.938 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.1618, allocations: 71.89 kB / 489.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.1619, allocations: 4 kB / 489.7 MB, free: 12 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 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.1621, allocations: 137.8 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.1622, allocations: 15.81 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.1644, allocations: 415.1 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1644, allocations: 4 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1644, allocations: 3.938 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1644, allocations: 0 / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.1669, allocations: 0.6973 MB / 491 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1669, allocations: 0 / 491 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.1675, allocations: 71.78 kB / 491 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.1675, allocations: 7.922 kB / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.1675, allocations: 4 kB / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1675, allocations: 8 kB / 491.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1676, allocations: 0 / 491.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.1696, allocations: 467 kB / 491.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.1697, allocations: 92.86 kB / 491.6 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.1698, allocations: 8 kB / 491.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.1704, allocations: 67.91 kB / 491.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.1706, allocations: 43.94 kB / 491.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.1706, allocations: 7.984 kB / 491.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1709, allocations: 184.6 kB / 491.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1709, allocations: 0 / 491.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.1714, allocations: 48 kB / 492 MB, free: 9.648 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 (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.001842/0.1733, allocations: 406.5 kB / 492.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.1755, allocations: 473.5 kB / 492.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1755, allocations: 0 / 492.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.1765, allocations: 183.8 kB / 493 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.1771, allocations: 36.59 kB / 493 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1784, allocations: 380.6 kB / 493.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.1788, allocations: 0.7201 MB / 494.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.179, allocations: 27.42 kB / 494.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.179, allocations: 0 / 494.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of Templates: time 0.007207/0.1862, allocations: 3.195 MB / 497.3 MB, free: 4.312 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)