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.001344/0.001344, allocations: 117.2 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2514/0.2514, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 71.89 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4739, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003675/0.4776, allocations: 1.854 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.4796, allocations: 1.02 MB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.4797, allocations: 1.375 kB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.48, allocations: 63.05 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.4805, allocations: 127.1 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.481, allocations: 160.2 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.4814, allocations: 201.9 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.4815, allocations: 20.55 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.4817, allocations: 78 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.4819, allocations: 103.4 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.4819, allocations: 17.41 kB / 0.5346 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.482, allocations: 47.23 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.4822, allocations: 37.7 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4823, allocations: 69.38 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.4826, allocations: 189.5 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4826, allocations: 0 / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4827, allocations: 0 / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4827, allocations: 0 / 0.5349 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.001243/0.4839, allocations: 0.5724 MB / 0.5354 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.484, allocations: 9.062 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.4841, allocations: 21.66 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.4844, allocations: 236.5 kB / 0.5357 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.4844, allocations: 7.688 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.4844, allocations: 16.56 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.485, allocations: 143.1 kB / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4851, allocations: 0 / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.4851, allocations: 5.016 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4851, allocations: 1.125 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.4859, allocations: 162.1 kB / 0.536 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.4865, allocations: 373.2 kB / 0.5364 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/0.4874, allocations: 192.9 kB / 0.5366 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.4878, allocations: 95.34 kB / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.4878, allocations: 1.188 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006532/0.4885, allocations: 167 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.4885, allocations: 1.375 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.004095/0.4926, allocations: 0.8039 MB / 0.5376 GB, free: 8.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.4927, allocations: 62.2 kB / 0.5377 GB, free: 8.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.493, allocations: 249.2 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.4931, allocations: 31.89 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.4932, allocations: 120.4 kB / 0.538 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.4933, allocations: 44.12 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.4934, allocations: 37.2 kB / 0.5381 GB, free: 8.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4935, allocations: 333 kB / 0.5384 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/0.4943, allocations: 168.8 kB / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/0.4951, allocations: 169.2 kB / 0.5388 GB, free: 7.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.4965, allocations: 363.7 kB / 0.5391 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4965, allocations: 0 / 0.5391 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001748/0.4983, allocations: 456.3 kB / 0.5395 GB, free: 7.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.4984, allocations: 67.36 kB / 0.5396 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4984, allocations: 3.938 kB / 0.5396 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.4984, allocations: 1.25 kB / 0.5396 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.4989, allocations: 67.12 kB / 0.5397 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4989, allocations: 5.375 kB / 0.5397 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.4994, allocations: 63.09 kB / 0.5397 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.4994, allocations: 7.359 kB / 0.5397 GB, free: 7.039 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.0002349/0.4997, allocations: 144.4 kB / 0.5399 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.4997, allocations: 19.53 kB / 0.5399 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.5014, allocations: 403.3 kB / 0.5403 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5014, allocations: 2.719 kB / 0.5403 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5015, allocations: 7.938 kB / 0.5403 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5015, allocations: 0 / 0.5403 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.5035, allocations: 0.7008 MB / 0.541 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5035, allocations: 0 / 0.541 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.5039, allocations: 64.66 kB / 0.541 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.5039, allocations: 7.938 kB / 0.541 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.5039, allocations: 9.078 kB / 0.5411 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.504, allocations: 1.125 kB / 0.5411 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.504, allocations: 0.9688 kB / 0.5411 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.5056, allocations: 471.8 kB / 0.5415 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.5058, allocations: 100.4 kB / 0.5416 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.5058, allocations: 6.344 kB / 0.5416 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.5063, allocations: 61.91 kB / 0.5417 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.5065, allocations: 45.5 kB / 0.5417 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.5065, allocations: 3.438 kB / 0.5417 GB, free: 5.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002769/0.5068, allocations: 191.4 kB / 0.5419 GB, free: 5.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5068, allocations: 0 / 0.5419 GB, free: 5.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.5072, allocations: 49.95 kB / 0.5419 GB, free: 5.48 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.001325/0.5085, allocations: 401.4 kB / 0.5423 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.5103, allocations: 475 kB / 0.5428 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5103, allocations: 0 / 0.5428 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008282/0.5112, allocations: 179.4 kB / 0.543 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.5116, allocations: 48.22 kB / 0.543 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5127, allocations: 356.4 kB / 0.5433 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.5131, allocations: 0.7294 MB / 0.5441 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.5132, allocations: 22.38 kB / 0.5441 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.5133, allocations: 24.86 kB / 0.5441 GB, free: 3.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.224e-06/0.5133, allocations: 0 / 0.5441 GB, free: 3.867 MB / 398.1 MB Notification: Performance of Templates: time 0.007826/0.5211, allocations: 3.572 MB / 0.5476 GB, free: 448 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)