Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001839/0.001839, allocations: 113 kB / 18.49 MB, free: 4.539 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.002862/0.002862, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.583/1.583, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2493/0.2493, allocations: 44.89 MB / 355.8 MB, free: 12.33 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) [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.00197/0.00197, allocations: 73.94 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1456, allocations: 65.42 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004515/0.1501, allocations: 2.369 MB / 0.5548 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.1529, allocations: 1.406 MB / 0.5562 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.1531, allocations: 15.88 kB / 0.5562 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.1537, allocations: 291 kB / 0.5565 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007052/0.1544, allocations: 338.5 kB / 0.5568 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1549, allocations: 219.5 kB / 0.557 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.1556, allocations: 0.5569 MB / 0.5576 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1557, allocations: 45.3 kB / 0.5576 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.156, allocations: 251 kB / 0.5578 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.1564, allocations: 302.7 kB / 0.5581 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.1564, allocations: 20 kB / 0.5582 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.1566, allocations: 59.92 kB / 0.5582 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.1567, allocations: 115.5 kB / 0.5583 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1569, allocations: 178.7 kB / 0.5585 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.1574, allocations: 425.8 kB / 0.5589 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1575, allocations: 0 / 0.5589 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1575, allocations: 0 / 0.5589 GB, free: 3.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1575, allocations: 0 / 0.5589 GB, free: 3.469 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001318/0.1588, allocations: 0.8189 MB / 0.5597 GB, free: 2.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.1588, allocations: 16.02 kB / 0.5597 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.757e-05/0.1589, allocations: 4.188 kB / 0.5597 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.1589, allocations: 46.73 kB / 0.5598 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.159, allocations: 56.56 kB / 0.5598 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.1598, allocations: 432.2 kB / 0.5602 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1598, allocations: 12.12 kB / 0.5602 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.1598, allocations: 20 kB / 0.5603 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.1603, allocations: 205.8 kB / 0.5605 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1603, allocations: 0 / 0.5605 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1603, allocations: 8 kB / 0.5605 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1603, allocations: 4 kB / 0.5605 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.1606, allocations: 99.86 kB / 0.5606 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1616, allocations: 0.8605 MB / 0.5614 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.1623, allocations: 281.2 kB / 0.5617 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.1625, allocations: 96.12 kB / 0.5618 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.1625, allocations: 7.984 kB / 0.5618 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.163, allocations: 231.5 kB / 0.562 GB, free: 20 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.163, allocations: 0 / 0.562 GB, free: 20 kB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002309/0.1653, allocations: 1.032 MB / 0.563 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1654, allocations: 170.1 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.1662, allocations: 0.6475 MB / 0.5638 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.1662, allocations: 45.69 kB / 0.5638 GB, free: 14.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1664, allocations: 233 kB / 0.5641 GB, free: 13.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1666, allocations: 135 kB / 0.5642 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1667, allocations: 70.12 kB / 0.5643 GB, free: 13.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.1669, allocations: 374.8 kB / 0.5646 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1671, allocations: 96.83 kB / 0.5647 GB, free: 13.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.1674, allocations: 186.8 kB / 0.5649 GB, free: 12.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.1679, allocations: 296.8 kB / 0.5652 GB, free: 12.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.1679, allocations: 7.938 kB / 0.5652 GB, free: 12.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007352/0.1687, allocations: 400.9 kB / 0.5656 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1687, allocations: 8 kB / 0.5656 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1687, allocations: 4.156 kB / 0.5656 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1687, allocations: 7.938 kB / 0.5656 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.169, allocations: 83.89 kB / 0.5657 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.169, allocations: 8.328 kB / 0.5657 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1692, allocations: 19.98 kB / 0.5657 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.1693, allocations: 16 kB / 0.5657 GB, free: 12.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002545/0.1695, allocations: 214.4 kB / 0.5659 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.1696, allocations: 63.58 kB / 0.566 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.1697, allocations: 72.39 kB / 0.566 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1697, allocations: 4 kB / 0.566 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/0.1698, allocations: 4 kB / 0.566 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1698, allocations: 3.984 kB / 0.566 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1715, allocations: 1.284 MB / 0.5673 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.1715, allocations: 8 kB / 0.5673 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1717, allocations: 47.92 kB / 0.5674 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1717, allocations: 7.938 kB / 0.5674 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.1717, allocations: 15.98 kB / 0.5674 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.1717, allocations: 4 kB / 0.5674 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1717, allocations: 4 kB / 0.5674 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.1726, allocations: 0.8206 MB / 0.5682 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.1728, allocations: 140.6 kB / 0.5683 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.1729, allocations: 8 kB / 0.5683 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.1733, allocations: 19.98 kB / 0.5683 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.1734, allocations: 43.89 kB / 0.5684 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.1734, allocations: 19.98 kB / 0.5684 GB, free: 9.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005524/0.174, allocations: 486.8 kB / 0.5689 GB, free: 8.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.174, allocations: 0 / 0.5689 GB, free: 8.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.1745, allocations: 87.92 kB / 0.569 GB, free: 8.605 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002972/0.1775, allocations: 1.73 MB / 0.5706 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.1782, allocations: 275.7 kB / 0.5709 GB, free: 6.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1782, allocations: 0 / 0.5709 GB, free: 6.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.1785, allocations: 135.7 kB / 0.571 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.1795, allocations: 149.7 kB / 0.5712 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/0.1857, allocations: 4.537 MB / 0.5756 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.1863, allocations: 0.8668 MB / 0.5765 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.1866, allocations: 80.12 kB / 0.5765 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.1869, allocations: 187.4 kB / 0.5767 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of SimCode: time 1.163e-06/0.1869, allocations: 0 / 0.5767 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.2171, allocations: 11 MB / 0.5875 GB, free: 5.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.036/9.253, allocations: 14.75 kB / 0.5875 GB, free: 5.68 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.873833244026173] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 9.444908256002236 9.789900978 9.629380628 Calling exit ...