Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001853, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002286/0.002286, allocations: 212.3 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 230.3 MB / 258 MB, free: 8.172 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.247/0.247, allocations: 46.94 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00316/0.00316, allocations: 75.88 kB / 0.4972 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4531, allocations: 66.04 MB / 0.5617 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003972/0.4571, allocations: 2.057 MB / 0.5637 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.4593, allocations: 1.131 MB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4594, allocations: 3.938 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.4597, allocations: 55.58 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.4601, allocations: 107.5 kB / 0.565 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.4603, allocations: 111.6 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.4607, allocations: 211.3 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.4609, allocations: 29.45 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.461, allocations: 87.62 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.4611, allocations: 79.61 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.4612, allocations: 12 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.4613, allocations: 51.98 kB / 0.5655 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.4614, allocations: 35.84 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.4615, allocations: 79.47 kB / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.4618, allocations: 202 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4618, allocations: 0 / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4618, allocations: 0 / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.4618, allocations: 4 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001171/0.463, allocations: 0.4887 MB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4631, allocations: 12.02 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.4632, allocations: 20.84 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.4636, allocations: 194.1 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4636, allocations: 4.375 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.4636, allocations: 12.38 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.4641, allocations: 154.8 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4641, allocations: 0 / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4641, allocations: 4 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4641, allocations: 0 / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.4646, allocations: 119.4 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.4653, allocations: 0.5233 MB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.466, allocations: 154.5 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.4662, allocations: 76.78 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.4663, allocations: 4 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/0.4668, allocations: 135.2 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.4668, allocations: 0 / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.001066/0.4679, allocations: 253.4 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.4679, allocations: 59.33 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.4682, allocations: 234.2 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.4683, allocations: 33.7 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4684, allocations: 132.4 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.4684, allocations: 43.69 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.4685, allocations: 33.7 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.4687, allocations: 334.8 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.469, allocations: 63.94 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.4693, allocations: 104.2 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.4698, allocations: 189.8 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4698, allocations: 4 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007013/0.4705, allocations: 259 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.4706, allocations: 37.83 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4706, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4706, allocations: 4 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4708, allocations: 35.91 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4708, allocations: 3.984 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.471, allocations: 35.86 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.471, allocations: 4 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.00017/0.4712, allocations: 137.8 kB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.4712, allocations: 15.91 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.4719, allocations: 210.8 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4719, allocations: 3.984 kB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4719, allocations: 0 / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4719, allocations: 3.938 kB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.4721, allocations: 220.5 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4721, allocations: 0 / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.4723, allocations: 19.98 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4723, allocations: 0 / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.4723, allocations: 11.98 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4723, allocations: 4 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4723, allocations: 0 / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.4733, allocations: 308.7 kB / 0.5704 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.4733, allocations: 19.89 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.4733, allocations: 4 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4735, allocations: 24.03 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.4736, allocations: 19.91 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.4736, allocations: 4 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.4738, allocations: 176.5 kB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4738, allocations: 0 / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.474, allocations: 39.92 kB / 0.5706 GB, free: 10.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001498/0.4755, allocations: 399.2 kB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.4762, allocations: 219.1 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4762, allocations: 0 / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.4765, allocations: 67.94 kB / 0.5713 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.4768, allocations: 55.53 kB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.4776, allocations: 328 kB / 0.5717 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.478, allocations: 0.7242 MB / 0.5724 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.698e-05/0.4781, allocations: 21.48 kB / 0.5724 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.4782, allocations: 27.42 kB / 0.5724 GB, free: 9.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4782, allocations: 0 / 0.5724 GB, free: 9.23 MB / 414.1 MB Notification: Performance of Templates: time 0.00746/0.4856, allocations: 2.93 MB / 0.5753 GB, free: 6.316 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.583099941723049] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.4955025967210531 0.513914462 0.047706542000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbc468757b0>