Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.00129/0.00129, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001343/0.001343, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.51/1.51, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.2393/0.2393, allocations: 46.93 MB / 357.7 MB, free: 10.25 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [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.002465/0.002465, allocations: 83.86 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1462, allocations: 66.04 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004315/0.1505, allocations: 2.377 MB / 0.5585 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1533, allocations: 1.401 MB / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.1536, allocations: 15.81 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.1542, allocations: 299 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000805/0.155, allocations: 330.7 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.1556, allocations: 215.5 kB / 0.5607 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008063/0.1564, allocations: 0.5569 MB / 0.5613 GB, free: 340 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1565, allocations: 41.08 kB / 0.5613 GB, free: 296 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.157, allocations: 254.9 kB / 0.5616 GB, free: 40 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004801/0.1575, allocations: 298.8 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.1575, allocations: 20 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1577, allocations: 51.98 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1579, allocations: 119.5 kB / 0.562 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.1581, allocations: 182.6 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.1587, allocations: 421.8 kB / 0.5626 GB, free: 14.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1587, allocations: 0 / 0.5626 GB, free: 14.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1587, allocations: 4 kB / 0.5626 GB, free: 14.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.1587, allocations: 0 / 0.5626 GB, free: 14.96 MB / 430.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.001435/0.1601, allocations: 0.8169 MB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.1602, allocations: 16.02 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.1603, allocations: 42.73 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1604, allocations: 56.56 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.1611, allocations: 436.3 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1611, allocations: 8.375 kB / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.1612, allocations: 16.38 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.1616, allocations: 213.9 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1616, allocations: 0 / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1616, allocations: 8 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1616, allocations: 4 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.1619, allocations: 103.8 kB / 0.5643 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.163, allocations: 0.8644 MB / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.1636, allocations: 289.1 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1638, allocations: 88.25 kB / 0.5655 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.1639, allocations: 8 kB / 0.5655 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/0.1643, allocations: 223.5 kB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 3.206e-06/0.1643, allocations: 0 / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.00218/0.1665, allocations: 1.042 MB / 0.5667 GB, free: 10.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.1666, allocations: 162.2 kB / 0.5669 GB, free: 10.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/0.1674, allocations: 0.6631 MB / 0.5675 GB, free: 9.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.1674, allocations: 41.69 kB / 0.5676 GB, free: 9.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1676, allocations: 229 kB / 0.5678 GB, free: 9.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1678, allocations: 130.9 kB / 0.5679 GB, free: 9.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1679, allocations: 74.12 kB / 0.568 GB, free: 9.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.1681, allocations: 370.8 kB / 0.5683 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.1683, allocations: 100.8 kB / 0.5684 GB, free: 8.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.1686, allocations: 180.9 kB / 0.5686 GB, free: 8.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.1692, allocations: 304.7 kB / 0.5689 GB, free: 8.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1692, allocations: 0 / 0.5689 GB, free: 8.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000838/0.17, allocations: 417 kB / 0.5693 GB, free: 7.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.17, allocations: 8 kB / 0.5693 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1701, allocations: 0 / 0.5693 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1701, allocations: 4 kB / 0.5693 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.1704, allocations: 87.83 kB / 0.5694 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1704, allocations: 4 kB / 0.5694 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.1706, allocations: 19.98 kB / 0.5694 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.1706, allocations: 20.16 kB / 0.5694 GB, free: 7.559 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.0002469/0.1709, allocations: 200.4 kB / 0.5696 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.171, allocations: 67.52 kB / 0.5697 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1711, allocations: 68.41 kB / 0.5697 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.1711, allocations: 8 kB / 0.5697 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1711, allocations: 0 / 0.5697 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1711, allocations: 3.984 kB / 0.5698 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.1729, allocations: 1.281 MB / 0.571 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1729, allocations: 4 kB / 0.571 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.173, allocations: 43.92 kB / 0.571 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.173, allocations: 8.156 kB / 0.5711 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.173, allocations: 19.98 kB / 0.5711 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/0.1731, allocations: 8.016 kB / 0.5711 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/0.1731, allocations: 11.92 kB / 0.5711 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/0.174, allocations: 0.8127 MB / 0.5719 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1741, allocations: 136.6 kB / 0.572 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.1742, allocations: 16.56 kB / 0.572 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.1745, allocations: 23.92 kB / 0.5721 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.1746, allocations: 35.89 kB / 0.5721 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.1746, allocations: 27.98 kB / 0.5721 GB, free: 4.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005562/0.1752, allocations: 486.8 kB / 0.5726 GB, free: 4.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1752, allocations: 0 / 0.5726 GB, free: 4.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.1757, allocations: 83.94 kB / 0.5727 GB, free: 4.102 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.002923/0.1787, allocations: 1.727 MB / 0.5743 GB, free: 2.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.1793, allocations: 276.2 kB / 0.5746 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1793, allocations: 0 / 0.5746 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.1796, allocations: 133.2 kB / 0.5747 GB, free: 2.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.1807, allocations: 151.5 kB / 0.5749 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.1867, allocations: 4.529 MB / 0.5793 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.1873, allocations: 0.8629 MB / 0.5801 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002422/0.1875, allocations: 88.11 kB / 0.5802 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.1878, allocations: 183.4 kB / 0.5804 GB, free: 12.07 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1878, allocations: 0 / 0.5804 GB, free: 12.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.2234, allocations: 10.97 MB / 0.5911 GB, free: 1.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/8.927, allocations: 6.156 kB / 0.5911 GB, free: 1.188 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.799361 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.454445384908468] 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.288895634002984 9.302364838 9.141162836 Calling exit ...