Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.001316/0.001316, allocations: 121.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.001423/0.001423, allocations: 205 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.445/1.445, allocations: 230.5 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.2333/0.2333, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",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.003494/0.003494, allocations: 79.86 kB / 0.4918 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.156, allocations: 66.03 MB / 0.5562 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004392/0.1604, allocations: 1.742 MB / 0.5579 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.1631, allocations: 1.035 MB / 0.559 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1632, allocations: 0 / 0.559 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.1635, allocations: 47.75 kB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.1639, allocations: 99.59 kB / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1642, allocations: 71.69 kB / 0.5592 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1645, allocations: 115.6 kB / 0.5593 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1646, allocations: 11.98 kB / 0.5593 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1647, allocations: 39.8 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1648, allocations: 39.83 kB / 0.5594 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1648, allocations: 4 kB / 0.5594 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.1649, allocations: 43.98 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.165, allocations: 23.86 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.1651, allocations: 43.67 kB / 0.5595 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.1654, allocations: 119.5 kB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1654, allocations: 0 / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1654, allocations: 0 / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1654, allocations: 0 / 0.5596 GB, free: 2.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007308/0.1661, allocations: 430.6 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1662, allocations: 8.031 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.1662, allocations: 38.67 kB / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1663, allocations: 12.89 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1667, allocations: 224.1 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1667, allocations: 384 / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.1667, allocations: 4.375 kB / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1669, allocations: 57.8 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1669, allocations: 0 / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1669, allocations: 0 / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1669, allocations: 0 / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.167, allocations: 19.98 kB / 0.5603 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.1675, allocations: 300.8 kB / 0.5606 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1678, allocations: 54.61 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.1679, allocations: 20.84 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1679, allocations: 3.984 kB / 0.5607 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1681, allocations: 71.39 kB / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1681, allocations: 0 / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007154/0.1688, allocations: 173.6 kB / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.1689, allocations: 55.39 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1692, allocations: 214.1 kB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.1692, allocations: 25.7 kB / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.198e-05/0.1693, allocations: 108.1 kB / 0.5613 GB, free: 48 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.1693, allocations: 15.86 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.1694, allocations: 33.64 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1696, allocations: 326.8 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.1697, allocations: 24.05 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1698, allocations: 33.72 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.17, allocations: 65.69 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.17, allocations: 0 / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002942/0.1703, allocations: 105.5 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1703, allocations: 11.94 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1703, allocations: 0 / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1703, allocations: 0 / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1704, allocations: 12 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1704, allocations: 7.938 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.1705, allocations: 7.984 kB / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1705, allocations: 4 kB / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001471/0.1707, allocations: 126 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.1707, allocations: 19.89 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.1708, allocations: 21.34 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1708, allocations: 4 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1708, allocations: 0 / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1708, allocations: 0 / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.1715, allocations: 399.2 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1715, allocations: 0 / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.1715, allocations: 8 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1715, allocations: 4.031 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1715, allocations: 4 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1716, allocations: 3.938 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1716, allocations: 0 / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1719, allocations: 212.4 kB / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.172, allocations: 85.06 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.172, allocations: 4 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1721, allocations: 7.938 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1722, allocations: 11.98 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1722, allocations: 4 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.1724, allocations: 156.3 kB / 0.563 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1724, allocations: 0 / 0.563 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004669/0.1729, allocations: 27.92 kB / 0.563 GB, free: 14.19 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002887/0.1758, allocations: 1.093 MB / 0.5641 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.176, allocations: 67.84 kB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.176, allocations: 0 / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.471e-05/0.1761, allocations: 20 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.1767, allocations: 27.97 kB / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.1794, allocations: 1.695 MB / 0.5658 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.1799, allocations: 0.7041 MB / 0.5665 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.927e-05/0.18, allocations: 20.78 kB / 0.5665 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1801, allocations: 43.36 kB / 0.5666 GB, free: 10.54 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1801, allocations: 0 / 0.5666 GB, free: 10.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.2084, allocations: 3.532 MB / 0.57 GB, free: 7.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.185, allocations: 8.547 kB / 0.57 GB, free: 7.07 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.236256523057818] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.309325497131795 8.333671006 8.163628345 Calling exit ...