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.001259/0.001259, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001642, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001422, allocations: 79.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4416, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00398/0.4456, allocations: 1.853 MB / 0.5328 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.4476, allocations: 1.02 MB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.4477, allocations: 1.375 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.448, allocations: 63.09 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.4485, allocations: 123.1 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.4489, allocations: 166.5 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.4493, allocations: 199.2 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.4494, allocations: 28.53 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.4495, allocations: 77.94 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.4497, allocations: 98.84 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.4498, allocations: 17.97 kB / 0.5346 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.4499, allocations: 46.59 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.45, allocations: 42.59 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.4501, allocations: 73.31 kB / 0.5347 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.4504, allocations: 184.3 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4504, allocations: 1.438 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4504, allocations: 0 / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4504, allocations: 0 / 0.5349 GB, free: 10.65 MB / 398.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.001322/0.4518, allocations: 0.5716 MB / 0.5354 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.4518, allocations: 10.25 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.4519, allocations: 25.28 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.4522, allocations: 235.8 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4523, allocations: 3.688 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.4523, allocations: 8.594 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.4528, allocations: 143.9 kB / 0.5359 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4529, allocations: 0 / 0.5359 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.4529, allocations: 1.188 kB / 0.5359 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4529, allocations: 1 kB / 0.5359 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.4537, allocations: 165.2 kB / 0.536 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.4542, allocations: 377 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.4551, allocations: 194.4 kB / 0.5366 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.4554, allocations: 90.81 kB / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.4555, allocations: 5.312 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006269/0.4561, allocations: 162.5 kB / 0.5368 GB, free: 9.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.4561, allocations: 0 / 0.5368 GB, free: 9.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003747/0.4599, allocations: 0.8095 MB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/0.46, allocations: 61.77 kB / 0.5377 GB, free: 8.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.4603, allocations: 245.5 kB / 0.5379 GB, free: 8.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.4604, allocations: 27.14 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4605, allocations: 125.3 kB / 0.538 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.4606, allocations: 48.5 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.4607, allocations: 37.36 kB / 0.5381 GB, free: 8.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4608, allocations: 332.5 kB / 0.5384 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/0.4616, allocations: 164.5 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.4623, allocations: 169.7 kB / 0.5388 GB, free: 7.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.4636, allocations: 368.9 kB / 0.5391 GB, free: 7.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4636, allocations: 0 / 0.5391 GB, free: 7.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001587/0.4652, allocations: 450.7 kB / 0.5395 GB, free: 7.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.4653, allocations: 65.95 kB / 0.5396 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4653, allocations: 0 / 0.5396 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4654, allocations: 1 kB / 0.5396 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.4658, allocations: 72.56 kB / 0.5397 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4658, allocations: 5.594 kB / 0.5397 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.4663, allocations: 65.78 kB / 0.5397 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.4663, allocations: 4.375 kB / 0.5397 GB, free: 7.062 MB / 398.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.000194/0.4665, allocations: 137 kB / 0.5399 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.4666, allocations: 19.81 kB / 0.5399 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.4681, allocations: 405.1 kB / 0.5403 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4681, allocations: 5.047 kB / 0.5403 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4681, allocations: 5.125 kB / 0.5403 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4682, allocations: 3.938 kB / 0.5403 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.47, allocations: 0.7068 MB / 0.541 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.47, allocations: 0 / 0.541 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.4704, allocations: 67.28 kB / 0.541 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.4704, allocations: 5.094 kB / 0.541 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4705, allocations: 1.094 kB / 0.5411 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4705, allocations: 1.188 kB / 0.5411 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4705, allocations: 3.984 kB / 0.5411 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.472, allocations: 476.4 kB / 0.5415 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.4721, allocations: 92.52 kB / 0.5416 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.4722, allocations: 14.58 kB / 0.5416 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.4726, allocations: 61.78 kB / 0.5417 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.4727, allocations: 49.28 kB / 0.5417 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4728, allocations: 3.531 kB / 0.5417 GB, free: 5.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.473, allocations: 187.1 kB / 0.5419 GB, free: 5.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.473, allocations: 0 / 0.5419 GB, free: 5.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.4733, allocations: 49.52 kB / 0.5419 GB, free: 5.5 MB / 398.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.0009937/0.4743, allocations: 404.3 kB / 0.5423 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.476, allocations: 471.4 kB / 0.5428 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.476, allocations: 0 / 0.5428 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007379/0.4768, allocations: 183.4 kB / 0.543 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.4772, allocations: 38.22 kB / 0.543 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4782, allocations: 356.7 kB / 0.5433 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.4785, allocations: 0.7257 MB / 0.544 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.4786, allocations: 21.59 kB / 0.5441 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.4788, allocations: 21.5 kB / 0.5441 GB, free: 3.898 MB / 398.1 MB Notification: Performance of SimCode: time 1.733e-06/0.4788, allocations: 4 kB / 0.5441 GB, free: 3.895 MB / 398.1 MB Notification: Performance of Templates: time 0.007146/0.4859, allocations: 3.586 MB / 0.5476 GB, free: 496 kB / 398.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)