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.001553/0.001553, allocations: 112.4 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.002018/0.002019, allocations: 204 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.488/1.488, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2431/0.2431, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.00163, allocations: 75.88 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4017, allocations: 62.42 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003096/0.4049, allocations: 1.871 MB / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.4065, allocations: 1.035 MB / 0.5345 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.4066, allocations: 0 / 0.5345 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.4068, allocations: 68.41 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.4072, allocations: 111.2 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.4077, allocations: 222.9 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.4079, allocations: 205.2 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4081, allocations: 29.77 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.4082, allocations: 79.42 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.4083, allocations: 104.4 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.4084, allocations: 13 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.4085, allocations: 43.2 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.4086, allocations: 42.06 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.4087, allocations: 74.5 kB / 0.5355 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.4089, allocations: 191 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.409, allocations: 0 / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.409, allocations: 0 / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.409, allocations: 5.062 kB / 0.5356 GB, free: 10.55 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.001041/0.41, allocations: 0.569 MB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4101, allocations: 8.781 kB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.4101, allocations: 17.19 kB / 0.5362 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4104, allocations: 243 kB / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4104, allocations: 7.031 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.453e-05/0.4105, allocations: 12.25 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.4109, allocations: 145.5 kB / 0.5366 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.411, allocations: 11.84 kB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.411, allocations: 5.312 kB / 0.5366 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.411, allocations: 1.375 kB / 0.5366 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.4117, allocations: 168.4 kB / 0.5368 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.4125, allocations: 427.8 kB / 0.5372 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.4132, allocations: 199 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.4136, allocations: 96.53 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.4136, allocations: 1.125 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005282/0.4141, allocations: 164.8 kB / 0.5376 GB, free: 8.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.4142, allocations: 0 / 0.5376 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003417/0.4176, allocations: 0.8309 MB / 0.5385 GB, free: 8.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.4176, allocations: 62.36 kB / 0.5385 GB, free: 8.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.4179, allocations: 245.2 kB / 0.5387 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.4179, allocations: 31.23 kB / 0.5388 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.418, allocations: 128.5 kB / 0.5389 GB, free: 8.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.4181, allocations: 32.2 kB / 0.5389 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.4182, allocations: 33.73 kB / 0.539 GB, free: 8.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4183, allocations: 336.5 kB / 0.5393 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/0.419, allocations: 171.1 kB / 0.5394 GB, free: 7.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.4196, allocations: 173.3 kB / 0.5396 GB, free: 7.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.4208, allocations: 383.2 kB / 0.54 GB, free: 7.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4208, allocations: 0 / 0.54 GB, free: 7.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001381/0.4222, allocations: 468.1 kB / 0.5404 GB, free: 7.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/0.4223, allocations: 68.48 kB / 0.5405 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4223, allocations: 1.25 kB / 0.5405 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4223, allocations: 4.562 kB / 0.5405 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.4227, allocations: 64.59 kB / 0.5406 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4227, allocations: 5.062 kB / 0.5406 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.4231, allocations: 67.52 kB / 0.5406 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.4231, allocations: 10.98 kB / 0.5406 GB, free: 6.898 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.0001321/0.4233, allocations: 141 kB / 0.5408 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.4233, allocations: 20.5 kB / 0.5408 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.4248, allocations: 424.5 kB / 0.5412 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4248, allocations: 5.312 kB / 0.5412 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4248, allocations: 3.938 kB / 0.5412 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4248, allocations: 1.281 kB / 0.5412 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.4265, allocations: 0.7148 MB / 0.5419 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4265, allocations: 4 kB / 0.5419 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.4268, allocations: 72.12 kB / 0.542 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4268, allocations: 5.156 kB / 0.542 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.4269, allocations: 5.016 kB / 0.542 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4269, allocations: 0 / 0.542 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4269, allocations: 1.312 kB / 0.542 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.4283, allocations: 497.7 kB / 0.5425 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.4283, allocations: 93.42 kB / 0.5425 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.4284, allocations: 6.078 kB / 0.5426 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.4288, allocations: 70.58 kB / 0.5426 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.4289, allocations: 44.91 kB / 0.5427 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.4289, allocations: 7.375 kB / 0.5427 GB, free: 5.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.4291, allocations: 179.8 kB / 0.5428 GB, free: 5.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4291, allocations: 1.125 kB / 0.5428 GB, free: 5.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.4295, allocations: 48.92 kB / 0.5429 GB, free: 5.309 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.0009741/0.4304, allocations: 402.3 kB / 0.5433 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.4319, allocations: 493.5 kB / 0.5437 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4319, allocations: 0 / 0.5437 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.4326, allocations: 189.4 kB / 0.5439 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.433, allocations: 34.73 kB / 0.544 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.434, allocations: 387.5 kB / 0.5443 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4343, allocations: 0.7298 MB / 0.545 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4344, allocations: 19.42 kB / 0.5451 GB, free: 3.652 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4344, allocations: 0 / 0.5451 GB, free: 3.652 MB / 398.1 MB Notification: Performance of Templates: time 0.005623/0.44, allocations: 3.305 MB / 0.5483 GB, free: 364 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)