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.001013/0.001013, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 82.89 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 62.45 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003131/0.1215, allocations: 1.857 MB / 481.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.123, allocations: 1.017 MB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.1231, allocations: 7.938 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1233, allocations: 59.73 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1237, allocations: 123.4 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.1241, allocations: 159.5 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.1244, allocations: 199.4 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1245, allocations: 21.56 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1246, allocations: 83.72 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1248, allocations: 99.58 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.1248, allocations: 16 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1249, allocations: 47.98 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.125, allocations: 39.83 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.1251, allocations: 71.58 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1253, allocations: 195.6 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1254, allocations: 0 / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1254, allocations: 0 / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1254, allocations: 3.938 kB / 484.1 MB, free: 1.215 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.001045/0.1264, allocations: 0.5605 MB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1265, allocations: 16.03 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.1265, allocations: 20.66 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1268, allocations: 233 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.1268, allocations: 384 / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.1268, allocations: 16.11 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.1273, allocations: 145.4 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1273, allocations: 4 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1274, allocations: 0 / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1274, allocations: 4 kB / 485.1 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.1281, allocations: 163.8 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1286, allocations: 360.6 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.1294, allocations: 198.3 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.1298, allocations: 92.75 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1298, allocations: 4.141 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005955/0.1304, allocations: 163.2 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.734e-06/0.1304, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003739/0.1342, allocations: 0.8195 MB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1342, allocations: 63.33 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.1345, allocations: 239.2 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.1346, allocations: 29.7 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.1346, allocations: 120.1 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.1347, allocations: 35.45 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.1348, allocations: 37.7 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1349, allocations: 331.4 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007142/0.1357, allocations: 167.8 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/0.1364, allocations: 170.5 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1377, allocations: 363.9 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1377, allocations: 112 / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00159/0.1393, allocations: 462.5 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.1394, allocations: 63.34 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1394, allocations: 8 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1394, allocations: 0 / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.1399, allocations: 71.89 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1399, allocations: 7.938 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.1403, allocations: 63.91 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1403, allocations: 4 kB / 489 MB, free: 11.98 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.000155/0.1405, allocations: 137.8 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1405, allocations: 15.81 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.1421, allocations: 414.6 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1421, allocations: 0 / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1421, allocations: 3.938 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1421, allocations: 0 / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.1439, allocations: 0.709 MB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1439, allocations: 4 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.1443, allocations: 63.91 kB / 490.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.1443, allocations: 7.938 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1443, allocations: 0 / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1443, allocations: 0 / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1443, allocations: 0 / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1458, allocations: 478.9 kB / 490.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.1459, allocations: 92.86 kB / 490.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.1459, allocations: 8 kB / 490.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.1464, allocations: 63.89 kB / 491 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.1465, allocations: 51.94 kB / 491 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1466, allocations: 4 kB / 491 MB, free: 9.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.1468, allocations: 180.6 kB / 491.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1468, allocations: 0 / 491.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.1471, allocations: 48 kB / 491.3 MB, free: 9.629 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.001044/0.1482, allocations: 399.7 kB / 491.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.1498, allocations: 481.5 kB / 492.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1498, allocations: 0 / 492.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.1505, allocations: 191.7 kB / 492.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1509, allocations: 42.73 kB / 492.4 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.152, allocations: 355 kB / 492.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1523, allocations: 0.7201 MB / 493.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.1525, allocations: 17.42 kB / 493.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.1526, allocations: 23.44 kB / 493.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1526, allocations: 0 / 493.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of Templates: time 0.006864/0.1595, allocations: 3.574 MB / 497 MB, free: 3.93 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)