Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 44.92 MB / 359.6 MB, free: 6.336 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 75.88 kB / 0.4943 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4367, allocations: 65.47 MB / 0.5583 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003389/0.44, allocations: 1.871 MB / 0.5601 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.4418, allocations: 1.041 MB / 0.5611 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.4419, allocations: 0 / 0.5611 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.4421, allocations: 67.61 kB / 0.5612 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.4424, allocations: 123.4 kB / 0.5613 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.4428, allocations: 162.9 kB / 0.5614 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.4431, allocations: 203.3 kB / 0.5616 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.4432, allocations: 17.73 kB / 0.5617 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.4434, allocations: 83.69 kB / 0.5617 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.4435, allocations: 103.6 kB / 0.5618 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.4436, allocations: 16 kB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.4437, allocations: 47.98 kB / 0.5619 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.4438, allocations: 39.89 kB / 0.5619 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.4439, allocations: 71.53 kB / 0.562 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.4442, allocations: 185.7 kB / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4442, allocations: 0 / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4442, allocations: 0 / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4442, allocations: 3.938 kB / 0.5622 GB, free: 3.641 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.001165/0.4454, allocations: 0.5083 MB / 0.5627 GB, free: 3.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4454, allocations: 8.031 kB / 0.5627 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.4455, allocations: 20.8 kB / 0.5627 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.4457, allocations: 174.1 kB / 0.5629 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.4458, allocations: 8.375 kB / 0.5629 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.4458, allocations: 8.125 kB / 0.5629 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.4463, allocations: 149.5 kB / 0.563 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4463, allocations: 3.984 kB / 0.563 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4463, allocations: 0 / 0.563 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4463, allocations: 0 / 0.563 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.447, allocations: 163.8 kB / 0.5632 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.4475, allocations: 343.6 kB / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.4483, allocations: 190.4 kB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.4486, allocations: 88.77 kB / 0.5638 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.4486, allocations: 4 kB / 0.5638 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.4492, allocations: 171.1 kB / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.4492, allocations: 0 / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003535/0.4528, allocations: 0.8166 MB / 0.5648 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.4528, allocations: 55.34 kB / 0.5648 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.4531, allocations: 247.2 kB / 0.565 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.4531, allocations: 29.7 kB / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.4532, allocations: 132 kB / 0.5652 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.4533, allocations: 47.83 kB / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.4534, allocations: 33.7 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4535, allocations: 326.8 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.4543, allocations: 167.8 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.4549, allocations: 167.8 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.4562, allocations: 366.6 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4562, allocations: 0 / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001523/0.4578, allocations: 460.5 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.402e-05/0.4578, allocations: 63.41 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.4578, allocations: 0 / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4578, allocations: 0 / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.4583, allocations: 67.84 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.4583, allocations: 3.938 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.4587, allocations: 71.89 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4587, allocations: 4 kB / 0.5669 GB, free: 14.58 MB / 414.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.0001675/0.4588, allocations: 141.8 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.4589, allocations: 19.86 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.4604, allocations: 410.6 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4604, allocations: 4 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4604, allocations: 3.938 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4604, allocations: 0 / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.4622, allocations: 0.6692 MB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4622, allocations: 7.938 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.4625, allocations: 63.91 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4625, allocations: 3.938 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4626, allocations: 7.984 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4626, allocations: 7.938 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4626, allocations: 4 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.464, allocations: 471 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.4641, allocations: 23.83 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.4641, allocations: 4.562 kB / 0.5687 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.4645, allocations: 63.91 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.4647, allocations: 47.92 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.4647, allocations: 4 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.4649, allocations: 184.6 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4649, allocations: 0 / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.4652, allocations: 47.92 kB / 0.569 GB, free: 12.33 MB / 414.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.001629/0.4668, allocations: 412.5 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.4684, allocations: 462.4 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4684, allocations: 0 / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.4691, allocations: 177.9 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.4695, allocations: 43.89 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4705, allocations: 380.5 kB / 0.5704 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.4709, allocations: 0.724 MB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.471, allocations: 23.44 kB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.471, allocations: 0 / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of Templates: time 0.007066/0.4781, allocations: 3.203 MB / 0.5743 GB, free: 7.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.079741847002879] Failed to read output from testmodel.py, exit status != 0: 0.4877897130791098 0.502771279 0.055213912000000004 Calling exit ...