Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.001887/0.001887, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002301/0.002301, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.486/1.486, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2342/0.2342, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",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.002244/0.002244, allocations: 83.86 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1432, allocations: 66.04 MB / 0.5562 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003389/0.1466, allocations: 1.833 MB / 0.558 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1485, allocations: 1.11 MB / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.1486, allocations: 0 / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005674/0.1492, allocations: 303.2 kB / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.1497, allocations: 247.2 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1499, allocations: 107.6 kB / 0.5597 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.1503, allocations: 271.2 kB / 0.56 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.1503, allocations: 13.69 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1505, allocations: 143.5 kB / 0.5601 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.1508, allocations: 204 kB / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1508, allocations: 8 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1509, allocations: 43.92 kB / 0.5604 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1511, allocations: 140.5 kB / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.1512, allocations: 142.8 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.1516, allocations: 366.2 kB / 0.561 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1516, allocations: 0 / 0.561 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1516, allocations: 4 kB / 0.561 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1516, allocations: 4 kB / 0.561 GB, free: 0.5859 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009963/0.1526, allocations: 0.75 MB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1527, allocations: 8.031 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.1527, allocations: 42.73 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.1528, allocations: 48.61 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/0.1535, allocations: 456.3 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1535, allocations: 4.375 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1535, allocations: 8.375 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.1537, allocations: 91.42 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1537, allocations: 0 / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.1538, allocations: 4 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1538, allocations: 0 / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1539, allocations: 27.97 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.1543, allocations: 378.4 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1546, allocations: 97.17 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1547, allocations: 41.69 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.1547, allocations: 4 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.155, allocations: 113 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.155, allocations: 0 / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005033/0.1555, allocations: 205.6 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1555, allocations: 77.11 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.1567, allocations: 1.022 MB / 0.5643 GB, free: 13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1567, allocations: 33.7 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.1569, allocations: 232.1 kB / 0.5645 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.157, allocations: 31.72 kB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.157, allocations: 25.72 kB / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1572, allocations: 374.7 kB / 0.5649 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.1573, allocations: 27.98 kB / 0.565 GB, free: 12.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1574, allocations: 66.61 kB / 0.565 GB, free: 12.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1576, allocations: 87.47 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1576, allocations: 7.938 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003171/0.1579, allocations: 173.2 kB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.158, allocations: 4 kB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.158, allocations: 7.984 kB / 0.5653 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.158, allocations: 0 / 0.5653 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1581, allocations: 19.98 kB / 0.5653 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1581, allocations: 7.938 kB / 0.5653 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1582, allocations: 19.88 kB / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1582, allocations: 4 kB / 0.5653 GB, free: 11.85 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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002234/0.1584, allocations: 221.7 kB / 0.5655 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.382e-05/0.1585, allocations: 55.61 kB / 0.5656 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.1586, allocations: 64.08 kB / 0.5657 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1586, allocations: 0 / 0.5657 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1586, allocations: 0 / 0.5657 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1586, allocations: 0 / 0.5657 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.159, allocations: 341.4 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.159, allocations: 3.938 kB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.159, allocations: 8.125 kB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.159, allocations: 0 / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1591, allocations: 8 kB / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1591, allocations: 7.938 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1591, allocations: 0 / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.1594, allocations: 209.5 kB / 0.5662 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.1596, allocations: 140.7 kB / 0.5663 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.1596, allocations: 4 kB / 0.5664 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.1597, allocations: 4 kB / 0.5664 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1597, allocations: 15.98 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1598, allocations: 4 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000865/0.1606, allocations: 0.7643 MB / 0.5671 GB, free: 9.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1606, allocations: 0 / 0.5671 GB, free: 9.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1609, allocations: 44.03 kB / 0.5672 GB, free: 9.875 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002131/0.163, allocations: 1.054 MB / 0.5682 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.1633, allocations: 75.91 kB / 0.5683 GB, free: 8.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1633, allocations: 0 / 0.5683 GB, free: 8.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1634, allocations: 39.91 kB / 0.5683 GB, free: 8.812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.1638, allocations: 63.73 kB / 0.5684 GB, free: 8.758 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/0.1696, allocations: 4.484 MB / 0.5727 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.1701, allocations: 0.8349 MB / 0.5736 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1703, allocations: 62.94 kB / 0.5736 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.1705, allocations: 151.4 kB / 0.5738 GB, free: 3.102 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1705, allocations: 0 / 0.5738 GB, free: 3.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.2041, allocations: 8.973 MB / 0.5825 GB, free: 10.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.754, allocations: 12.33 kB / 0.5825 GB, free: 10.18 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.32037696428597] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 8.87942674709484 9.180186244 9.025032414 Calling exit ...