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.001165/0.001165, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 71.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4331, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004362/0.4375, allocations: 1.863 MB / 0.5335 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.4396, allocations: 1.009 MB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.4398, allocations: 0 / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.4401, allocations: 67.06 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005715/0.4408, allocations: 120.5 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.4414, allocations: 166.4 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.4418, allocations: 203.2 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.442, allocations: 23.12 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.4422, allocations: 79.81 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.4425, allocations: 98.38 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.4425, allocations: 13.59 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.4427, allocations: 55.42 kB / 0.5353 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.4428, allocations: 36.89 kB / 0.5353 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.443, allocations: 78.45 kB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.4434, allocations: 184.1 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4434, allocations: 1.25 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4434, allocations: 0 / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.4435, allocations: 0 / 0.5356 GB, free: 10.64 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.001344/0.4448, allocations: 0.5683 MB / 0.5361 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4449, allocations: 9.625 kB / 0.5361 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/0.445, allocations: 20.91 kB / 0.5361 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.4453, allocations: 236.1 kB / 0.5364 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4454, allocations: 4.5 kB / 0.5364 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.4454, allocations: 12.12 kB / 0.5364 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.4459, allocations: 143.6 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.446, allocations: 0 / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.446, allocations: 1.344 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.446, allocations: 1.281 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.4467, allocations: 161.5 kB / 0.5367 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.4473, allocations: 376.9 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/0.4481, allocations: 197.9 kB / 0.5372 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/0.4485, allocations: 86.92 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.4485, allocations: 5.469 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/0.4492, allocations: 167.1 kB / 0.5375 GB, free: 9.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.504e-06/0.4492, allocations: 0 / 0.5375 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003592/0.4528, allocations: 0.8091 MB / 0.5383 GB, free: 8.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.4528, allocations: 66.36 kB / 0.5383 GB, free: 8.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.4532, allocations: 236.1 kB / 0.5385 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4532, allocations: 39.84 kB / 0.5386 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.4533, allocations: 120.1 kB / 0.5387 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.4534, allocations: 49.19 kB / 0.5387 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4535, allocations: 36.77 kB / 0.5388 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4537, allocations: 328.4 kB / 0.5391 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.4544, allocations: 172.1 kB / 0.5393 GB, free: 7.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.4551, allocations: 166.9 kB / 0.5394 GB, free: 7.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.4563, allocations: 365.2 kB / 0.5398 GB, free: 7.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4563, allocations: 0 / 0.5398 GB, free: 7.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001515/0.4578, allocations: 461.4 kB / 0.5402 GB, free: 7.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.4579, allocations: 67.66 kB / 0.5403 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4579, allocations: 1.031 kB / 0.5403 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.458, allocations: 1.062 kB / 0.5403 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.4584, allocations: 68.28 kB / 0.5403 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.4584, allocations: 7.922 kB / 0.5403 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.4588, allocations: 67.31 kB / 0.5404 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4588, allocations: 4.469 kB / 0.5404 GB, free: 7.047 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.000171/0.459, allocations: 140.3 kB / 0.5405 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.4591, allocations: 18.91 kB / 0.5406 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.4605, allocations: 405.7 kB / 0.541 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4606, allocations: 1.219 kB / 0.541 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4606, allocations: 4.969 kB / 0.541 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4606, allocations: 0 / 0.541 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.4624, allocations: 0.6988 MB / 0.5416 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4624, allocations: 1.062 kB / 0.5416 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.4627, allocations: 70.77 kB / 0.5417 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.4628, allocations: 5.188 kB / 0.5417 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.4628, allocations: 5.125 kB / 0.5417 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4628, allocations: 1.281 kB / 0.5417 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4628, allocations: 0 / 0.5417 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.4643, allocations: 472.5 kB / 0.5422 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.4643, allocations: 96.27 kB / 0.5423 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.4644, allocations: 2.75 kB / 0.5423 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.4648, allocations: 70.44 kB / 0.5423 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.465, allocations: 44.59 kB / 0.5424 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.465, allocations: 7.297 kB / 0.5424 GB, free: 5.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.4652, allocations: 188.7 kB / 0.5426 GB, free: 5.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4653, allocations: 0 / 0.5426 GB, free: 5.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.4656, allocations: 48.75 kB / 0.5426 GB, free: 5.496 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.001061/0.4667, allocations: 411 kB / 0.543 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.4683, allocations: 475.3 kB / 0.5435 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4683, allocations: 0 / 0.5435 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007401/0.469, allocations: 182.2 kB / 0.5436 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.4695, allocations: 38.52 kB / 0.5437 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4706, allocations: 377 kB / 0.544 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.471, allocations: 0.7235 MB / 0.5447 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.4711, allocations: 25.83 kB / 0.5448 GB, free: 3.871 MB / 398.1 MB Notification: Performance of SimCode: time 2.154e-06/0.4711, allocations: 0 / 0.5448 GB, free: 3.871 MB / 398.1 MB Notification: Performance of Templates: time 0.006695/0.4778, allocations: 3.199 MB / 0.5479 GB, free: 0.8047 MB / 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)