Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.001292/0.001292, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001334/0.001334, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.489/1.489, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2271/0.2271, allocations: 46.94 MB / 357.7 MB, free: 10.2 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.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",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.002261/0.002261, allocations: 79.86 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1473, allocations: 66.04 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00391/0.1512, allocations: 1.981 MB / 0.5582 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1534, allocations: 1.208 MB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1535, allocations: 3.938 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007254/0.1542, allocations: 198.5 kB / 0.5595 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.1547, allocations: 203.2 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1552, allocations: 155.6 kB / 0.5599 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.1556, allocations: 279.2 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1557, allocations: 12.31 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1558, allocations: 115.5 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.156, allocations: 123.5 kB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.156, allocations: 12 kB / 0.5604 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1562, allocations: 63.89 kB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.1563, allocations: 47.84 kB / 0.5605 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1564, allocations: 91.39 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.1568, allocations: 242.9 kB / 0.5608 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1568, allocations: 4 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1568, allocations: 0 / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1568, allocations: 4 kB / 0.5608 GB, free: 0.7695 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009503/0.1577, allocations: 0.562 MB / 0.5614 GB, free: 156 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1578, allocations: 12.03 kB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.1578, allocations: 34.73 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.1579, allocations: 28.8 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.1583, allocations: 295.7 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1583, allocations: 8.375 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.1584, allocations: 4.375 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.1586, allocations: 104.3 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1586, allocations: 4 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1586, allocations: 4 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1586, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1588, allocations: 39.91 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.1593, allocations: 389.5 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.1596, allocations: 113.2 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1597, allocations: 45.7 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1597, allocations: 0 / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.16, allocations: 113 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.16, allocations: 0 / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004959/0.1605, allocations: 185.4 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.1606, allocations: 102.8 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.161, allocations: 359.3 kB / 0.5631 GB, free: 14.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.161, allocations: 25.7 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1611, allocations: 144.1 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.1612, allocations: 35.75 kB / 0.5633 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.1612, allocations: 33.7 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1614, allocations: 346.8 kB / 0.5637 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.1615, allocations: 27.98 kB / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1616, allocations: 78.53 kB / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1618, allocations: 99.89 kB / 0.5639 GB, free: 13.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1618, allocations: 0 / 0.5639 GB, free: 13.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000309/0.1621, allocations: 153.4 kB / 0.564 GB, free: 13.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1622, allocations: 4 kB / 0.564 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.1622, allocations: 4 kB / 0.564 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1622, allocations: 0 / 0.564 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1623, allocations: 19.98 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1623, allocations: 7.938 kB / 0.5641 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.1624, allocations: 15.95 kB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1624, allocations: 8 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001631/0.1626, allocations: 157.7 kB / 0.5642 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.1626, allocations: 27.81 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.491e-05/0.1627, allocations: 25.83 kB / 0.5643 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1627, allocations: 4 kB / 0.5643 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1627, allocations: 0 / 0.5643 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1627, allocations: 0 / 0.5643 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1629, allocations: 253.5 kB / 0.5645 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1629, allocations: 4 kB / 0.5645 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.163, allocations: 12 kB / 0.5646 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.163, allocations: 0 / 0.5646 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.163, allocations: 12.11 kB / 0.5646 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.163, allocations: 0 / 0.5646 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.163, allocations: 0 / 0.5646 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.1634, allocations: 189.6 kB / 0.5647 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.1634, allocations: 104.9 kB / 0.5648 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.1635, allocations: 7.984 kB / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.1635, allocations: 4 kB / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.1636, allocations: 11.98 kB / 0.5649 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1636, allocations: 4 kB / 0.5649 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.1639, allocations: 261.9 kB / 0.5651 GB, free: 11.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1639, allocations: 0 / 0.5651 GB, free: 11.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1642, allocations: 43.86 kB / 0.5652 GB, free: 11.91 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002087/0.1663, allocations: 1.03 MB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.1665, allocations: 83.91 kB / 0.5662 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1665, allocations: 4.125 kB / 0.5663 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1667, allocations: 43.91 kB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1671, allocations: 70.78 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.1702, allocations: 2.344 MB / 0.5687 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1706, allocations: 0.7519 MB / 0.5694 GB, free: 7.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.1707, allocations: 30.44 kB / 0.5694 GB, free: 7.535 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.1708, allocations: 71.41 kB / 0.5695 GB, free: 7.469 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1708, allocations: 0 / 0.5695 GB, free: 7.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0679/0.2387, allocations: 5.839 MB / 0.5752 GB, free: 1.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.71/8.949, allocations: 19.05 kB / 0.5752 GB, free: 1.691 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.13726148288697] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'booleanTable.y', 'booleanTable.combiTimeTable.y[1]', 'booleanTable.realToBoolean.y'] 9.105557010974735 9.131577692 8.969921157 Calling exit ...