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.001238/0.001238, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001364, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.11 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 71.5 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1236, allocations: 62.45 MB / 480 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003634/0.1272, allocations: 1.861 MB / 481.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1291, allocations: 1.036 MB / 482.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1293, allocations: 4 kB / 482.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1296, allocations: 71.66 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.1301, allocations: 123.4 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.1306, allocations: 203 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.131, allocations: 203.4 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1311, allocations: 25.55 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1312, allocations: 75.75 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1314, allocations: 107.6 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.1314, allocations: 16 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1316, allocations: 43.94 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1317, allocations: 39.88 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1318, allocations: 71.59 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.1321, allocations: 191.6 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1321, allocations: 0 / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1321, allocations: 0 / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1321, allocations: 0 / 484.1 MB, free: 1.18 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.001076/0.1332, allocations: 0.5798 MB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1332, allocations: 8.031 kB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.1333, allocations: 16.75 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1336, allocations: 236.9 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1336, allocations: 8.359 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.1336, allocations: 12.12 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.1342, allocations: 149.5 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1342, allocations: 0 / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1342, allocations: 4 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1342, allocations: 4 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.135, allocations: 163.8 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/0.1359, allocations: 428.5 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.1367, allocations: 198.3 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.1371, allocations: 96.88 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1371, allocations: 3.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006258/0.1378, allocations: 171.2 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1378, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.00381/0.1416, allocations: 0.8358 MB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1417, allocations: 63.34 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1419, allocations: 245.5 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.1419, allocations: 29.7 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.142, allocations: 124.2 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.1421, allocations: 39.53 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.1422, allocations: 33.7 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1423, allocations: 330.8 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.1431, allocations: 175.8 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.1438, allocations: 178.3 kB / 488.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.1452, allocations: 375.8 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1452, allocations: 4 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001601/0.1468, allocations: 470.4 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.1469, allocations: 63.39 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1469, allocations: 4 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1469, allocations: 0 / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.1474, allocations: 67.91 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1474, allocations: 3.938 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.1478, allocations: 63.91 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.1478, allocations: 7.984 kB / 489.2 MB, free: 11.79 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.0001345/0.148, allocations: 145.8 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.148, allocations: 15.81 kB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.1496, allocations: 418.7 kB / 489.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1496, allocations: 0 / 489.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1497, allocations: 7.938 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1497, allocations: 4 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.1515, allocations: 0.7197 MB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1516, allocations: 0 / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.1519, allocations: 72.47 kB / 490.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.152, allocations: 7.938 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.152, allocations: 7.922 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.152, allocations: 0 / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.152, allocations: 0 / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.1535, allocations: 498.8 kB / 491 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.1536, allocations: 100.8 kB / 491.1 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.1536, allocations: 0 / 491.1 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.154, allocations: 63.91 kB / 491.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.1542, allocations: 51.92 kB / 491.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1542, allocations: 4 kB / 491.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1544, allocations: 184.5 kB / 491.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1544, allocations: 0 / 491.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1547, allocations: 47.98 kB / 491.5 MB, free: 9.371 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.0009297/0.1556, allocations: 395 kB / 491.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.1573, allocations: 0.4885 MB / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1573, allocations: 0 / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007738/0.1581, allocations: 187.7 kB / 492.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1585, allocations: 42.25 kB / 492.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.1595, allocations: 370.8 kB / 493 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1598, allocations: 0.7395 MB / 493.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.1599, allocations: 25.41 kB / 493.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.16, allocations: 23.44 kB / 493.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.16, allocations: 0 / 493.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of Templates: time 0.00724/0.1673, allocations: 3.604 MB / 497.3 MB, free: 3.586 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)