Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.00156/0.00156, allocations: 111.9 kB / 19.17 MB, free: 3.91 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.002081/0.002081, allocations: 208.9 kB / 22.13 MB, free: 0.9609 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.591/1.591, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.2353/0.2353, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] 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.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89") [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.00226/0.00226, allocations: 83.81 kB / 0.4924 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1499, allocations: 65.99 MB / 0.5569 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003983/0.1538, allocations: 1.744 MB / 0.5586 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.1568, allocations: 1.64 MB / 0.5602 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1569, allocations: 0 / 0.5602 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.1573, allocations: 35.77 kB / 0.5602 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.1577, allocations: 107.5 kB / 0.5603 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1579, allocations: 71.73 kB / 0.5604 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.1582, allocations: 115.6 kB / 0.5605 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1583, allocations: 8 kB / 0.5605 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1585, allocations: 47.78 kB / 0.5606 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1587, allocations: 43.83 kB / 0.5606 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1587, allocations: 4 kB / 0.5606 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.1589, allocations: 111.9 kB / 0.5607 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.159, allocations: 15.92 kB / 0.5607 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.1591, allocations: 39.73 kB / 0.5608 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1594, allocations: 171.4 kB / 0.5609 GB, free: 1.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1594, allocations: 0 / 0.5609 GB, free: 1.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1594, allocations: 0 / 0.5609 GB, free: 1.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1594, allocations: 0 / 0.5609 GB, free: 1.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007987/0.1602, allocations: 434.5 kB / 0.5613 GB, free: 1.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.1603, allocations: 12.03 kB / 0.5614 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.1603, allocations: 12.84 kB / 0.5614 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.1608, allocations: 211.6 kB / 0.5616 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1608, allocations: 4.312 kB / 0.5616 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.1608, allocations: 12.12 kB / 0.5616 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.1611, allocations: 63.39 kB / 0.5616 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1611, allocations: 7.922 kB / 0.5616 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.1611, allocations: 8 kB / 0.5617 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1611, allocations: 0 / 0.5617 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.1612, allocations: 19.98 kB / 0.5617 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.1618, allocations: 288.9 kB / 0.562 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1619, allocations: 58.61 kB / 0.562 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.162, allocations: 16.86 kB / 0.562 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.162, allocations: 0 / 0.562 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.1622, allocations: 71.38 kB / 0.5621 GB, free: 324 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1622, allocations: 4 kB / 0.5621 GB, free: 320 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000636/0.1629, allocations: 181.3 kB / 0.5623 GB, free: 132 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.1629, allocations: 77.11 kB / 0.5623 GB, free: 36 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1631, allocations: 158.5 kB / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1631, allocations: 33.7 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.1632, allocations: 96.12 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1632, allocations: 23.81 kB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.1633, allocations: 25.7 kB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1634, allocations: 334.8 kB / 0.563 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.1635, allocations: 16 kB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.1636, allocations: 42.5 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1637, allocations: 61.7 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1637, allocations: 0 / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.1639, allocations: 109.6 kB / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1639, allocations: 8 kB / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1639, allocations: 0 / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1639, allocations: 0 / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.164, allocations: 12 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.164, allocations: 4 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.1641, allocations: 7.922 kB / 0.5632 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1641, allocations: 4.156 kB / 0.5632 GB, free: 15.06 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001186/0.1642, allocations: 135.6 kB / 0.5634 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1642, allocations: 7.953 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.1643, allocations: 20.69 kB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1643, allocations: 3.938 kB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1643, allocations: 0 / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1643, allocations: 3.938 kB / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.1648, allocations: 399.3 kB / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1648, allocations: 384 / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.1648, allocations: 8 kB / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1648, allocations: 4.031 kB / 0.5638 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1648, allocations: 11.92 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1648, allocations: 4 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1648, allocations: 0 / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.1651, allocations: 196.3 kB / 0.564 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.1652, allocations: 81.06 kB / 0.5641 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1652, allocations: 19.88 kB / 0.5641 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.1653, allocations: 4.172 kB / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.1653, allocations: 4 kB / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1653, allocations: 7.938 kB / 0.5641 GB, free: 14.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1654, allocations: 127.9 kB / 0.5642 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1654, allocations: 0 / 0.5642 GB, free: 13.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1657, allocations: 51.86 kB / 0.5643 GB, free: 13.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001937/0.1677, allocations: 0.5357 MB / 0.5648 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1679, allocations: 55.91 kB / 0.5649 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1679, allocations: 0 / 0.5649 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.134e-05/0.168, allocations: 31.97 kB / 0.5649 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1683, allocations: 34.42 kB / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.1688, allocations: 232.6 kB / 0.5651 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1692, allocations: 0.7002 MB / 0.5658 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.1692, allocations: 19.44 kB / 0.5658 GB, free: 12.42 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1692, allocations: 0 / 0.5658 GB, free: 12.42 MB / 430.1 MB Notification: Performance of Templates: time 0.00501/0.1742, allocations: 2.417 MB / 0.5682 GB, free: 10.01 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.068245355971158] Failed to read output from testmodel.py, exit status != 0: 0.18247214797884226 0.197143922 0.034710744 Calling exit ...