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.001372/0.001372, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.3 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2431/0.2431, allocations: 46.12 MB / 343.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 77.23 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.149, allocations: 62.44 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003513/0.1525, allocations: 1.915 MB / 481.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1543, allocations: 1.044 MB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.1544, allocations: 0 / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.1547, allocations: 67.8 kB / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.1551, allocations: 99.58 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.1558, allocations: 187 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.156, allocations: 191.4 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1562, allocations: 21.55 kB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1563, allocations: 79.67 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1564, allocations: 95.64 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.1565, allocations: 8 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1566, allocations: 43.92 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/0.1567, allocations: 39.88 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.1568, allocations: 71.53 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.157, allocations: 175.7 kB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.157, allocations: 0 / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1571, allocations: 0 / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1571, allocations: 0 / 483.3 MB, free: 1.695 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.001184/0.1583, allocations: 0.5799 MB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1583, allocations: 8.875 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.1584, allocations: 16.75 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1586, allocations: 236.9 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1587, allocations: 4.375 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.1587, allocations: 8.125 kB / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.1592, allocations: 149.5 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1593, allocations: 3.984 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1593, allocations: 4 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1593, allocations: 4 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.16, allocations: 171.7 kB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008934/0.1609, allocations: 432.5 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.1618, allocations: 190.4 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.1621, allocations: 100.8 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1622, allocations: 0 / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006209/0.1628, allocations: 175.1 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.1628, allocations: 0 / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003767/0.1666, allocations: 0.828 MB / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.1667, allocations: 63.28 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1669, allocations: 249.5 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.167, allocations: 29.7 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.1671, allocations: 120 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.1671, allocations: 39.55 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.1672, allocations: 33.7 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1674, allocations: 330.8 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.1681, allocations: 175.8 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/0.1688, allocations: 178.8 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.1702, allocations: 379.8 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1702, allocations: 0 / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001581/0.1718, allocations: 472.4 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/0.1719, allocations: 59.39 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1719, allocations: 0 / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1719, allocations: 4 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.1724, allocations: 71.91 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1724, allocations: 3.938 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.1728, allocations: 67.91 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.1728, allocations: 7.984 kB / 488.4 MB, free: 12.3 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.000182/0.173, allocations: 138 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.1731, allocations: 23.73 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.1747, allocations: 426.6 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1748, allocations: 0 / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.1748, allocations: 7.938 kB / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1748, allocations: 0 / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.1768, allocations: 0.7208 MB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1769, allocations: 0.5625 kB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.1773, allocations: 71.91 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1773, allocations: 3.938 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.1773, allocations: 7.984 kB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1773, allocations: 0 / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1773, allocations: 0 / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.1788, allocations: 494.3 kB / 490.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.1789, allocations: 96.86 kB / 490.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.179, allocations: 3.984 kB / 490.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.1794, allocations: 67.84 kB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.1796, allocations: 39.94 kB / 490.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.1796, allocations: 11.98 kB / 490.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.1798, allocations: 184.5 kB / 490.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1798, allocations: 0 / 490.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.1802, allocations: 48 kB / 490.7 MB, free: 9.887 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.001199/0.1814, allocations: 407.1 kB / 491.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.183, allocations: 490.3 kB / 491.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1831, allocations: 0 / 491.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.1838, allocations: 183.8 kB / 491.8 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1843, allocations: 32.64 kB / 491.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1856, allocations: 419.1 kB / 492.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.1862, allocations: 0.7282 MB / 493 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.1863, allocations: 29.41 kB / 493 MB, free: 7.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1864, allocations: 23.42 kB / 493 MB, free: 7.664 MB / 366.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1864, allocations: 0 / 493 MB, free: 7.664 MB / 366.1 MB Notification: Performance of Templates: time 0.007113/0.1936, allocations: 3.128 MB / 496.1 MB, free: 4.551 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)