Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001275/0.001275, allocations: 123 kB / 17.79 MB, free: 5.246 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.001278/0.001278, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.534/1.534, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2455/0.2455, allocations: 46.93 MB / 357.1 MB, free: 10.29 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+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.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.89 kB / 0.491 GB, free: 7.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1447, allocations: 65.98 MB / 0.5554 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003836/0.1485, allocations: 2.048 MB / 0.5574 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1505, allocations: 1.114 MB / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1506, allocations: 0 / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.1509, allocations: 59.62 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.1513, allocations: 107.4 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1515, allocations: 115.6 kB / 0.5588 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1519, allocations: 211.3 kB / 0.559 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.152, allocations: 17.69 kB / 0.559 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1521, allocations: 83.69 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1523, allocations: 79.61 kB / 0.5592 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1523, allocations: 15.94 kB / 0.5592 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1524, allocations: 55.98 kB / 0.5592 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.1525, allocations: 35.84 kB / 0.5593 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1526, allocations: 75.52 kB / 0.5593 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.153, allocations: 203.1 kB / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.153, allocations: 3.938 kB / 0.5595 GB, free: 1.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.153, allocations: 0 / 0.5595 GB, free: 1.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.153, allocations: 4 kB / 0.5595 GB, free: 1.504 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001153/0.1542, allocations: 0.5718 MB / 0.5601 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1542, allocations: 8.031 kB / 0.5601 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.1543, allocations: 42.73 kB / 0.5602 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.1543, allocations: 16.84 kB / 0.5602 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.1547, allocations: 257 kB / 0.5604 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1548, allocations: 8.375 kB / 0.5604 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.1548, allocations: 7.938 kB / 0.5604 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.1553, allocations: 152.2 kB / 0.5606 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1553, allocations: 0 / 0.5606 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1553, allocations: 3.938 kB / 0.5606 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1553, allocations: 7.984 kB / 0.5606 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.1558, allocations: 115.8 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.1566, allocations: 0.5438 MB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.1573, allocations: 154.6 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.1576, allocations: 64.8 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.1576, allocations: 11.92 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.1581, allocations: 139.3 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.1581, allocations: 0 / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009992/0.1591, allocations: 257.3 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1591, allocations: 55.41 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1594, allocations: 240.1 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1595, allocations: 29.7 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1596, allocations: 128.4 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.1596, allocations: 35.77 kB / 0.5623 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.1597, allocations: 33.7 kB / 0.5623 GB, free: 14.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1599, allocations: 338.8 kB / 0.5626 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.1602, allocations: 63.94 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.1605, allocations: 100.2 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.161, allocations: 197.8 kB / 0.563 GB, free: 13.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.161, allocations: 4 kB / 0.563 GB, free: 13.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006986/0.1617, allocations: 259 kB / 0.5632 GB, free: 13.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.1618, allocations: 33.69 kB / 0.5633 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1618, allocations: 4 kB / 0.5633 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1618, allocations: 3.938 kB / 0.5633 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.162, allocations: 36.09 kB / 0.5633 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.162, allocations: 4 kB / 0.5633 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1622, allocations: 31.84 kB / 0.5634 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1622, allocations: 11.94 kB / 0.5634 GB, free: 13.27 MB / 430.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.0001559/0.1624, allocations: 132 kB / 0.5635 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.1624, allocations: 27.84 kB / 0.5635 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.1625, allocations: 25.34 kB / 0.5635 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1625, allocations: 4 kB / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1625, allocations: 0 / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.1625, allocations: 7.969 kB / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.1627, allocations: 233.5 kB / 0.5638 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1627, allocations: 3.938 kB / 0.5638 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1629, allocations: 27.91 kB / 0.5638 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1629, allocations: 0 / 0.5638 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.1629, allocations: 11.92 kB / 0.5638 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.1629, allocations: 4 kB / 0.5638 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1629, allocations: 4 kB / 0.5638 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/0.1638, allocations: 300.4 kB / 0.5641 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.1639, allocations: 97.06 kB / 0.5642 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.164, allocations: 11.94 kB / 0.5642 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1641, allocations: 15.97 kB / 0.5642 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.1642, allocations: 19.97 kB / 0.5642 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1642, allocations: 4 kB / 0.5643 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1644, allocations: 177.5 kB / 0.5644 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1644, allocations: 0 / 0.5644 GB, free: 12.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1646, allocations: 39.94 kB / 0.5645 GB, free: 12.05 MB / 430.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002632/0.1673, allocations: 1.146 MB / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006696/0.168, allocations: 211.1 kB / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.168, allocations: 0 / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.1683, allocations: 80.12 kB / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1686, allocations: 44.81 kB / 0.5659 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.1721, allocations: 2.201 MB / 0.568 GB, free: 8.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.1725, allocations: 0.7202 MB / 0.5688 GB, free: 7.645 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.1726, allocations: 21.55 kB / 0.5688 GB, free: 7.625 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1727, allocations: 55.41 kB / 0.5688 GB, free: 7.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1727, allocations: 0 / 0.5688 GB, free: 7.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.2016, allocations: 5.032 MB / 0.5737 GB, free: 2.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.091, allocations: 16.88 kB / 0.5738 GB, free: 2.594 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.374118102001376] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.211505591010791 8.230243573 8.073458234 Calling exit ...