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.001566/0.001566, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002342/0.002342, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002319/0.1412, allocations: 1.567 MB / 484.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.143, allocations: 0.994 MB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.1431, allocations: 3.938 kB / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1434, allocations: 51.86 kB / 485.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.1438, allocations: 99.58 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.1443, allocations: 154.9 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1446, allocations: 179.5 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1447, allocations: 25.47 kB / 486.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1449, allocations: 75.73 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.1451, allocations: 99.58 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1451, allocations: 8 kB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1452, allocations: 31.98 kB / 486.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.1453, allocations: 43.77 kB / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.1454, allocations: 89.28 kB / 486.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.1457, allocations: 179.6 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1457, allocations: 0 / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1457, allocations: 0 / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1457, allocations: 0 / 486.7 MB, free: 0.5547 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.001274/0.147, allocations: 0.5709 MB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.1471, allocations: 12.88 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.1472, allocations: 20.73 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1475, allocations: 233 kB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1475, allocations: 384 / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.1475, allocations: 12.12 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.1481, allocations: 173.5 kB / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1481, allocations: 3.938 kB / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1481, allocations: 0 / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1482, allocations: 4 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.149, allocations: 211.8 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.1496, allocations: 364.6 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/0.1505, allocations: 242.4 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.1509, allocations: 120.7 kB / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.151, allocations: 0 / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/0.1516, allocations: 191.2 kB / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.1516, allocations: 0 / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004422/0.156, allocations: 1.063 MB / 489.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1561, allocations: 59.34 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.1564, allocations: 239.8 kB / 490.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.1565, allocations: 33.7 kB / 490.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.1566, allocations: 124 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.1566, allocations: 35.55 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.1567, allocations: 17.72 kB / 490.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1568, allocations: 334.8 kB / 490.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008731/0.1577, allocations: 219.8 kB / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/0.1585, allocations: 219.8 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.1601, allocations: 458.1 kB / 491.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1602, allocations: 4 kB / 491.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001831/0.162, allocations: 0.5455 MB / 492.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.1621, allocations: 63.39 kB / 492.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1621, allocations: 4.109 kB / 492.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1621, allocations: 7.938 kB / 492.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.1626, allocations: 95.91 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1627, allocations: 3.938 kB / 492.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.1632, allocations: 91.91 kB / 492.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1632, allocations: 4 kB / 492.4 MB, free: 10.58 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.0002143/0.1634, allocations: 133.8 kB / 492.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.1635, allocations: 23.72 kB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.1654, allocations: 0.4905 MB / 493 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1654, allocations: 0 / 493 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.1654, allocations: 3.938 kB / 493 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1654, allocations: 7.984 kB / 493 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.1675, allocations: 0.8066 MB / 493.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1676, allocations: 4 kB / 493.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.168, allocations: 87.91 kB / 493.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.168, allocations: 3.938 kB / 493.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.168, allocations: 8 kB / 493.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1681, allocations: 0 / 493.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1681, allocations: 0 / 493.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.1698, allocations: 0.5653 MB / 494.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.17, allocations: 112.8 kB / 494.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.1701, allocations: 0 / 494.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.1706, allocations: 87.91 kB / 494.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.1708, allocations: 47.92 kB / 494.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1708, allocations: 4 kB / 494.7 MB, free: 8.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.171, allocations: 180.6 kB / 494.9 MB, free: 7.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.171, allocations: 0 / 494.9 MB, free: 7.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.1715, allocations: 44 kB / 495 MB, free: 7.879 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.001257/0.1727, allocations: 401.9 kB / 495.4 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.1746, allocations: 0.5602 MB / 495.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1746, allocations: 3.938 kB / 495.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.1755, allocations: 235.7 kB / 496.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.1761, allocations: 40.64 kB / 496.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1772, allocations: 390.3 kB / 496.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1776, allocations: 0.7282 MB / 497.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.1777, allocations: 17.42 kB / 497.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.1778, allocations: 23.42 kB / 497.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1779, allocations: 0 / 497.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of Templates: time 0.007234/0.1851, allocations: 3.063 MB / 0.4887 GB, free: 2.508 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)