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.001222/0.001221, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 46.09 MB / 344.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68.77 kB / 419 MB, free: 19.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 62.45 MB / 481.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003511/0.154, allocations: 1.841 MB / 483.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1558, allocations: 1.052 MB / 484.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.1559, allocations: 0 / 484.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.1561, allocations: 67.67 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1565, allocations: 123.4 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.157, allocations: 210.5 kB / 484.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1573, allocations: 207.4 kB / 485 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1575, allocations: 21.55 kB / 485 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1576, allocations: 91.67 kB / 485.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1577, allocations: 99.64 kB / 485.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1578, allocations: 19.98 kB / 485.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.382e-05/0.1579, allocations: 39.98 kB / 485.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.158, allocations: 39.91 kB / 485.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.1581, allocations: 79.45 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1583, allocations: 187.4 kB / 485.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1583, allocations: 0 / 485.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1584, allocations: 0 / 485.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1584, allocations: 0 / 485.5 MB, free: 0.5156 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.001131/0.1595, allocations: 0.5799 MB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1596, allocations: 8.031 kB / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.1596, allocations: 16.75 kB / 486.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1599, allocations: 236.8 kB / 486.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1599, allocations: 12.36 kB / 486.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.16, allocations: 12.12 kB / 486.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.1604, allocations: 145.5 kB / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1605, allocations: 0 / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1605, allocations: 0 / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1605, allocations: 7.984 kB / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.1612, allocations: 163.8 kB / 486.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.1619, allocations: 432.4 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.1626, allocations: 198.4 kB / 487.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.163, allocations: 96.75 kB / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.163, allocations: 0 / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006834/0.1637, allocations: 175.3 kB / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1637, allocations: 0 / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003239/0.167, allocations: 0.828 MB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1671, allocations: 63.34 kB / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.1673, allocations: 241.5 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1674, allocations: 33.69 kB / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.1674, allocations: 124 kB / 488.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.1675, allocations: 35.55 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.1676, allocations: 37.7 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1678, allocations: 326.8 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.1684, allocations: 171.8 kB / 489.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.1691, allocations: 182.2 kB / 489.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.1703, allocations: 387.8 kB / 490 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1703, allocations: 0.6719 kB / 490 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001513/0.1718, allocations: 470.5 kB / 490.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/0.1719, allocations: 59.41 kB / 490.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1719, allocations: 3.984 kB / 490.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1719, allocations: 0 / 490.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.1723, allocations: 75.84 kB / 490.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1723, allocations: 7.875 kB / 490.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.1727, allocations: 59.91 kB / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1727, allocations: 12 kB / 490.6 MB, free: 11.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.0001577/0.1729, allocations: 133.8 kB / 490.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.1729, allocations: 15.81 kB / 490.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.1743, allocations: 422.6 kB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1743, allocations: 4 kB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1743, allocations: 7.938 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1743, allocations: 3.984 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.176, allocations: 0.7168 MB / 491.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.176, allocations: 0 / 491.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.1764, allocations: 71.84 kB / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1764, allocations: 7.938 kB / 492 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1765, allocations: 4 kB / 492 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1765, allocations: 4 kB / 492 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1765, allocations: 3.984 kB / 492 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.1778, allocations: 490.9 kB / 492.5 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.1778, allocations: 92.86 kB / 492.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1779, allocations: 4 kB / 492.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.1783, allocations: 67.89 kB / 492.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.1784, allocations: 43.95 kB / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1784, allocations: 7.984 kB / 492.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.1787, allocations: 184.5 kB / 492.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1787, allocations: 0 / 492.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.179, allocations: 48 kB / 492.9 MB, free: 8.711 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.0009758/0.18, allocations: 404.9 kB / 493.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.1814, allocations: 489.9 kB / 493.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1814, allocations: 0 / 493.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.1821, allocations: 191.7 kB / 494 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1825, allocations: 32.58 kB / 494 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1836, allocations: 374.8 kB / 494.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.184, allocations: 0.7279 MB / 495.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.1841, allocations: 29.41 kB / 495.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.1842, allocations: 19.44 kB / 495.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1842, allocations: 0 / 495.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of Templates: time 0.006796/0.191, allocations: 3.612 MB / 498.8 MB, free: 2.938 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 -s cvode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)