Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001673/0.001673, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.00184, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.4795, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003461/0.483, allocations: 1.864 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.4849, allocations: 1.033 MB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.485, allocations: 1.344 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.4854, allocations: 66.81 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.4859, allocations: 124.2 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.4865, allocations: 207.2 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.4868, allocations: 208.5 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.487, allocations: 35.28 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.4872, allocations: 87.25 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.4873, allocations: 103.4 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.4874, allocations: 13.75 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.4875, allocations: 34.25 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.4876, allocations: 46.88 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.4877, allocations: 78.59 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.488, allocations: 194.2 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.488, allocations: 1.375 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.488, allocations: 0 / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4881, allocations: 0 / 0.535 GB, free: 10.57 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.001282/0.4893, allocations: 0.5684 MB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4894, allocations: 9.812 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.4895, allocations: 25.48 kB / 0.5356 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.4898, allocations: 238.2 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4898, allocations: 2.594 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.4899, allocations: 9.344 kB / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.4905, allocations: 153.4 kB / 0.536 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4905, allocations: 3.906 kB / 0.536 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.4905, allocations: 0 / 0.536 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4905, allocations: 2.406 kB / 0.536 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.4913, allocations: 167.8 kB / 0.5361 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008801/0.4922, allocations: 436.2 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.4931, allocations: 195.6 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/0.4935, allocations: 92.48 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.4936, allocations: 1.375 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006241/0.4942, allocations: 168.4 kB / 0.537 GB, free: 8.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.043e-06/0.4942, allocations: 4 kB / 0.537 GB, free: 8.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.004057/0.4983, allocations: 0.8292 MB / 0.5378 GB, free: 8.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.4983, allocations: 59 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.4987, allocations: 243.5 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.4987, allocations: 28.95 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.4988, allocations: 135.7 kB / 0.5382 GB, free: 8.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.4989, allocations: 40.97 kB / 0.5383 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/0.499, allocations: 33.48 kB / 0.5383 GB, free: 8.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4991, allocations: 332 kB / 0.5386 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/0.4999, allocations: 175.5 kB / 0.5388 GB, free: 7.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/0.5007, allocations: 177.5 kB / 0.539 GB, free: 7.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.5022, allocations: 379.7 kB / 0.5393 GB, free: 7.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5022, allocations: 0 / 0.5393 GB, free: 7.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001755/0.504, allocations: 472.9 kB / 0.5398 GB, free: 7.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.537e-05/0.5041, allocations: 57.69 kB / 0.5398 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5041, allocations: 0 / 0.5398 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.5041, allocations: 1.469 kB / 0.5398 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.5046, allocations: 72.86 kB / 0.5399 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.5046, allocations: 7.875 kB / 0.5399 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.5051, allocations: 71.98 kB / 0.54 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.5051, allocations: 2.625 kB / 0.54 GB, free: 6.91 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.0001794/0.5053, allocations: 137.2 kB / 0.5401 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.5053, allocations: 17.09 kB / 0.5401 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.507, allocations: 423.2 kB / 0.5405 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.507, allocations: 2.469 kB / 0.5405 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.5071, allocations: 3.938 kB / 0.5405 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5071, allocations: 0 / 0.5405 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.509, allocations: 0.716 MB / 0.5412 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5091, allocations: 0 / 0.5412 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.5095, allocations: 72.08 kB / 0.5413 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.5095, allocations: 3.938 kB / 0.5413 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.5095, allocations: 5.25 kB / 0.5413 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.5095, allocations: 5.656 kB / 0.5413 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5095, allocations: 4 kB / 0.5413 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.5112, allocations: 493.1 kB / 0.5418 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.5112, allocations: 97.59 kB / 0.5419 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.5113, allocations: 9 kB / 0.5419 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.5117, allocations: 61.66 kB / 0.542 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.5119, allocations: 45.78 kB / 0.542 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.5119, allocations: 3.469 kB / 0.542 GB, free: 5.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.5121, allocations: 188.8 kB / 0.5422 GB, free: 5.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5121, allocations: 0 / 0.5422 GB, free: 5.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.5125, allocations: 45.88 kB / 0.5422 GB, free: 5.336 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.001078/0.5136, allocations: 407.8 kB / 0.5426 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.5153, allocations: 488.3 kB / 0.5431 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5153, allocations: 4 kB / 0.5431 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.5161, allocations: 190.6 kB / 0.5433 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.5165, allocations: 39.23 kB / 0.5433 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.5176, allocations: 361.2 kB / 0.5436 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.518, allocations: 0.7311 MB / 0.5444 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.5181, allocations: 31.81 kB / 0.5444 GB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.5182, allocations: 19.44 kB / 0.5444 GB, free: 3.691 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5182, allocations: 0 / 0.5444 GB, free: 3.691 MB / 398.1 MB Notification: Performance of Templates: time 0.008228/0.5265, allocations: 3.625 MB / 0.5479 GB, free: 92 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)