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.001081/0.001081, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 204.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.19 MB / 345.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 11.94 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1487, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002223/0.1509, allocations: 1.564 MB / 484.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1526, allocations: 1.025 MB / 485.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.1527, allocations: 0 / 485.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.153, allocations: 67.78 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.1533, allocations: 91.66 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.1538, allocations: 198.4 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.1541, allocations: 183.5 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1542, allocations: 17.56 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1543, allocations: 79.67 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1545, allocations: 99.62 kB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.1545, allocations: 8 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.1546, allocations: 39.92 kB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.1547, allocations: 27.91 kB / 486.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1548, allocations: 97.22 kB / 486.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1551, allocations: 175.6 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1551, allocations: 0 / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1551, allocations: 0 / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1551, allocations: 0 / 486.7 MB, free: 0.4922 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.001103/0.1562, allocations: 0.5801 MB / 487.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1562, allocations: 12.81 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.1563, allocations: 16.75 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1566, allocations: 248.7 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1566, allocations: 384 / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.1567, allocations: 12.12 kB / 487.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.1572, allocations: 169.5 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1573, allocations: 4 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1573, allocations: 4 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1573, allocations: 0 / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.1581, allocations: 215.8 kB / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.1589, allocations: 448.5 kB / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008406/0.1598, allocations: 250.4 kB / 488.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.1602, allocations: 120.9 kB / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.1602, allocations: 4.094 kB / 488.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005909/0.1608, allocations: 199.1 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.1609, allocations: 0 / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004177/0.165, allocations: 1.07 MB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1651, allocations: 63.33 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1654, allocations: 249.4 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1654, allocations: 29.7 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.1655, allocations: 120.1 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.1656, allocations: 39.45 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.1656, allocations: 25.7 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1658, allocations: 326.8 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.1666, allocations: 223.8 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/0.1674, allocations: 224.4 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.1691, allocations: 477.9 kB / 491.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1691, allocations: 0 / 491.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001763/0.1708, allocations: 0.559 MB / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.846e-05/0.1709, allocations: 63.41 kB / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1709, allocations: 3.984 kB / 492.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.171, allocations: 3.938 kB / 492.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.1715, allocations: 99.83 kB / 492.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1715, allocations: 7.938 kB / 492.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.172, allocations: 91.91 kB / 492.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.172, allocations: 4 kB / 492.6 MB, free: 10.33 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.0002036/0.1722, allocations: 137.8 kB / 492.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1723, allocations: 19.81 kB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.174, allocations: 0.5065 MB / 493.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1741, allocations: 0 / 493.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.1741, allocations: 7.938 kB / 493.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1741, allocations: 0 / 493.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.1762, allocations: 0.8222 MB / 494.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1762, allocations: 0 / 494.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.1766, allocations: 95.91 kB / 494.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1766, allocations: 3.938 kB / 494.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1767, allocations: 3.938 kB / 494.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1767, allocations: 7.938 kB / 494.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1767, allocations: 0 / 494.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.1783, allocations: 0.577 MB / 494.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.1784, allocations: 96.86 kB / 494.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.1784, allocations: 0 / 494.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.1789, allocations: 95.89 kB / 495 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.1791, allocations: 43.94 kB / 495 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.1791, allocations: 7.984 kB / 495 MB, free: 7.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.1793, allocations: 184.5 kB / 495.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1793, allocations: 4 kB / 495.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.1797, allocations: 44 kB / 495.3 MB, free: 7.578 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.001103/0.1808, allocations: 402.5 kB / 495.6 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.1826, allocations: 0.5648 MB / 496.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.1826, allocations: 8 kB / 496.2 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008362/0.1834, allocations: 239.7 kB / 496.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1839, allocations: 43.81 kB / 496.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1849, allocations: 421.9 kB / 496.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1854, allocations: 0.736 MB / 497.6 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.1856, allocations: 33.39 kB / 497.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.1857, allocations: 15.44 kB / 497.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1857, allocations: 0 / 497.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of Templates: time 0.007731/0.1934, allocations: 3.085 MB / 0.489 GB, free: 2.125 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)