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.000859/0.000859, allocations: 99.2 kB / 17 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008917/0.0008917, allocations: 196.8 kB / 17.91 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.19 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002645, allocations: 8.219 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 63.56 MB / 482.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002457/0.1377, allocations: 1.533 MB / 483.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1391, allocations: 0.9282 MB / 484.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.1391, allocations: 3.938 kB / 484.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.1394, allocations: 63.78 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.1396, allocations: 99.53 kB / 485 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.14, allocations: 147.2 kB / 485.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1402, allocations: 159.5 kB / 485.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1403, allocations: 21.53 kB / 485.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1405, allocations: 67.75 kB / 485.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1406, allocations: 91.64 kB / 485.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1407, allocations: 8 kB / 485.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.1407, allocations: 39.98 kB / 485.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.1408, allocations: 39.81 kB / 485.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.1409, allocations: 41.64 kB / 485.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1411, allocations: 128 kB / 485.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1411, allocations: 0 / 485.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1411, allocations: 0 / 485.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1412, allocations: 0 / 485.8 MB, free: 1.195 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.001024/0.1422, allocations: 0.5782 MB / 486.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1422, allocations: 12.03 kB / 486.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.1423, allocations: 23.8 kB / 486.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1426, allocations: 223.7 kB / 486.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1426, allocations: 8 kB / 486.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1426, allocations: 7.938 kB / 486.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.1431, allocations: 169.5 kB / 486.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1431, allocations: 0 / 486.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.1432, allocations: 4 kB / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1432, allocations: 0 / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.1439, allocations: 211.8 kB / 487 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.1444, allocations: 364.7 kB / 487.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.1451, allocations: 238.4 kB / 487.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.1455, allocations: 120.8 kB / 487.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1455, allocations: 8 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005186/0.1461, allocations: 191.2 kB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1461, allocations: 0 / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003406/0.1495, allocations: 1.055 MB / 488.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1495, allocations: 63.36 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1498, allocations: 247 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1498, allocations: 29.7 kB / 489.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.1499, allocations: 124.1 kB / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.15, allocations: 31.55 kB / 489.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.15, allocations: 4 kB / 489.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1501, allocations: 326.8 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006618/0.1508, allocations: 219.9 kB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.1515, allocations: 226.3 kB / 490.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/0.1521, allocations: 259.2 kB / 490.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1521, allocations: 0 / 490.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001422/0.1536, allocations: 0.5395 MB / 491 MB, free: 11.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/0.1536, allocations: 59.41 kB / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1537, allocations: 0 / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1537, allocations: 0 / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.1541, allocations: 107.8 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1541, allocations: 3.953 kB / 491.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.1545, allocations: 91.91 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.1545, allocations: 4 kB / 491.2 MB, free: 11.45 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 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.1547, allocations: 129.8 kB / 491.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1547, allocations: 19.81 kB / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.1561, allocations: 0.5026 MB / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1562, allocations: 0 / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1562, allocations: 0 / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1562, allocations: 3.953 kB / 491.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.1578, allocations: 0.795 MB / 492.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1578, allocations: 3.984 kB / 492.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.1581, allocations: 95.84 kB / 492.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.1582, allocations: 4 kB / 492.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1582, allocations: 4 kB / 492.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1582, allocations: 7.953 kB / 492.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1582, allocations: 0 / 492.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1595, allocations: 0.5683 MB / 493.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.1596, allocations: 92.92 kB / 493.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.1597, allocations: 3.984 kB / 493.5 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.16, allocations: 95.91 kB / 493.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.1602, allocations: 51.86 kB / 493.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1602, allocations: 4 kB / 493.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1604, allocations: 180.9 kB / 493.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1604, allocations: 0 / 493.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1607, allocations: 47.98 kB / 493.8 MB, free: 8.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009331/0.1616, allocations: 409.8 kB / 494.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.1631, allocations: 0.5571 MB / 494.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1631, allocations: 0 / 494.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.1638, allocations: 234.9 kB / 495 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1642, allocations: 36.64 kB / 495.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008715/0.165, allocations: 378 kB / 495.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1653, allocations: 0.7243 MB / 496.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.1655, allocations: 21.42 kB / 496.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.1656, allocations: 19.38 kB / 496.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of SimCode: time 2.074e-06/0.1656, allocations: 0 / 496.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of Templates: time 0.00597/0.1715, allocations: 2.988 MB / 499.2 MB, free: 3.473 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)