Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.001732/0.001732, 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.001989/0.001989, 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.508/1.508, 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.2303/0.2303, 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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",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.002337/0.002337, allocations: 83.86 kB / 0.4918 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1551, allocations: 66.03 MB / 0.5563 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004532/0.1597, allocations: 1.756 MB / 0.558 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.1621, allocations: 1.036 MB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1622, allocations: 0 / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.1626, allocations: 91.67 kB / 0.5591 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005842/0.1632, allocations: 127.5 kB / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1635, allocations: 75.73 kB / 0.5593 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.1638, allocations: 127.6 kB / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.164, allocations: 11.98 kB / 0.5594 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1641, allocations: 63.69 kB / 0.5595 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.1643, allocations: 75.73 kB / 0.5595 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-05/0.1644, allocations: 4 kB / 0.5595 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.1646, allocations: 59.92 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.248e-05/0.1646, allocations: 35.89 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.1647, allocations: 39.69 kB / 0.5597 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.165, allocations: 135.4 kB / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.165, allocations: 0 / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.165, allocations: 0 / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1651, allocations: 0 / 0.5598 GB, free: 1.828 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.0007499/0.1658, allocations: 454.4 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.1659, allocations: 12.03 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.1659, allocations: 38.69 kB / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.166, allocations: 12.84 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.1663, allocations: 217.5 kB / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1664, allocations: 4.375 kB / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1664, allocations: 4.375 kB / 0.5605 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.1666, allocations: 69.77 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1666, allocations: 0 / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1666, allocations: 0 / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1666, allocations: 0 / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1668, allocations: 31.92 kB / 0.5606 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.1673, allocations: 308.7 kB / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.1676, allocations: 54.55 kB / 0.5609 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.1677, allocations: 20.97 kB / 0.561 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1677, allocations: 0 / 0.561 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.1679, allocations: 75.33 kB / 0.561 GB, free: 384 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1679, allocations: 0 / 0.561 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001043/0.169, allocations: 245.3 kB / 0.5613 GB, free: 132 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.169, allocations: 55.34 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.1694, allocations: 242 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1694, allocations: 29.7 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.1695, allocations: 112.1 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.1696, allocations: 35.73 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.1696, allocations: 29.72 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1698, allocations: 326.8 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.1699, allocations: 28 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.17, allocations: 45.69 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1702, allocations: 81.66 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1702, allocations: 4 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003234/0.1705, allocations: 129.5 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1706, allocations: 8 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1706, allocations: 3.938 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1706, allocations: 0 / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1707, allocations: 23.98 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1707, allocations: 4 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1708, allocations: 3.938 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1708, allocations: 4 kB / 0.5624 GB, free: 14.92 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 (13): * Single equations (assignments): 13 * 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.0002453/0.171, allocations: 143 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.1711, allocations: 15.91 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.1711, allocations: 25.39 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1711, allocations: 0 / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1711, allocations: 0 / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1712, allocations: 3.938 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008517/0.172, allocations: 460.1 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.172, allocations: 0 / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.1721, allocations: 19.92 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1721, allocations: 4 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1721, allocations: 0 / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1721, allocations: 4 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1721, allocations: 0 / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.1725, allocations: 237 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.1726, allocations: 92.95 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.1726, allocations: 8 kB / 0.5634 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1727, allocations: 0 / 0.5634 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.1728, allocations: 11.98 kB / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.1728, allocations: 8 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.1731, allocations: 172.4 kB / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1731, allocations: 0 / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.1736, allocations: 31.94 kB / 0.5636 GB, free: 13.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.003003/0.1766, allocations: 1.178 MB / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1768, allocations: 75.91 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1768, allocations: 0 / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.177, allocations: 39.92 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.1775, allocations: 35.09 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.1804, allocations: 1.854 MB / 0.5667 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.1808, allocations: 0.7158 MB / 0.5674 GB, free: 9.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.1809, allocations: 24.62 kB / 0.5674 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.181, allocations: 47.61 kB / 0.5674 GB, free: 9.664 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.181, allocations: 0 / 0.5674 GB, free: 9.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.2088, allocations: 3.976 MB / 0.5713 GB, free: 5.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.185, allocations: 14.11 kB / 0.5713 GB, free: 5.746 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.34693623892963] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.310334677342325 8.332273836 8.164144072 Calling exit ...