Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.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.001303/0.001303, allocations: 122.5 kB / 18.51 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.001977/0.001977, allocations: 215.2 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.546/1.546, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2338/0.2338, allocations: 46.93 MB / 357.7 MB, free: 10.18 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.Test52,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52",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.002369/0.002369, allocations: 83.86 kB / 0.4917 GB, free: 7.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1572, allocations: 66.05 MB / 0.5562 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003322/0.1605, allocations: 1.737 MB / 0.5579 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1623, allocations: 1.03 MB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.1624, allocations: 4 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1627, allocations: 55.75 kB / 0.559 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.1631, allocations: 95.53 kB / 0.5591 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1633, allocations: 79.72 kB / 0.5592 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1634, allocations: 103.6 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1635, allocations: 12 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.1636, allocations: 47.78 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.1637, allocations: 27.84 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1637, allocations: 8 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1638, allocations: 47.92 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.1639, allocations: 35.84 kB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.1639, allocations: 35.73 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1642, allocations: 123.4 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1642, allocations: 0 / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1642, allocations: 0 / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1642, allocations: 4 kB / 0.5596 GB, free: 1.977 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.000605/0.1648, allocations: 434.5 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1648, allocations: 12.03 kB / 0.56 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.1649, allocations: 46.61 kB / 0.5601 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1649, allocations: 8.891 kB / 0.5601 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1653, allocations: 221.5 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1653, allocations: 384 / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1653, allocations: 384 / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1654, allocations: 61.8 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1655, allocations: 3.938 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1655, allocations: 0 / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1655, allocations: 0 / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.1655, allocations: 23.98 kB / 0.5604 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.166, allocations: 296.8 kB / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1661, allocations: 54.67 kB / 0.5607 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.1662, allocations: 20.84 kB / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1662, allocations: 4 kB / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.1664, allocations: 67.33 kB / 0.5608 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1664, allocations: 0 / 0.5608 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.167, allocations: 181.3 kB / 0.561 GB, free: 396 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.167, allocations: 59.39 kB / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.1672, allocations: 234.1 kB / 0.5613 GB, free: 80 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1673, allocations: 25.7 kB / 0.5613 GB, free: 48 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.1674, allocations: 116.1 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1674, allocations: 19.86 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1674, allocations: 29.7 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1676, allocations: 326.8 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.1676, allocations: 19.98 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.1677, allocations: 37.7 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1678, allocations: 61.66 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1678, allocations: 0 / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.168, allocations: 101.6 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.168, allocations: 4 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.168, allocations: 384 / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1681, allocations: 4 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.1682, allocations: 19.92 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1682, allocations: 0 / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/0.1682, allocations: 23.95 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1682, allocations: 4 kB / 0.562 GB, free: 15.26 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.0001146/0.1683, allocations: 129.8 kB / 0.5621 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.1684, allocations: 15.91 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.1684, allocations: 17.41 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1684, allocations: 0 / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1684, allocations: 3.984 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1684, allocations: 0 / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.1689, allocations: 403.5 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1689, allocations: 0 / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.169, allocations: 15.92 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.169, allocations: 0 / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.169, allocations: 4 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.169, allocations: 7.875 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.169, allocations: 0 / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.1692, allocations: 208.5 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.1693, allocations: 89.02 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.1693, allocations: 11.98 kB / 0.5629 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1694, allocations: 3.938 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.1694, allocations: 4 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1695, allocations: 7.984 kB / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1696, allocations: 172.4 kB / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1696, allocations: 0 / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1699, allocations: 35.92 kB / 0.5631 GB, free: 14.04 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.002153/0.172, allocations: 1.088 MB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1722, allocations: 59.84 kB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1722, allocations: 0 / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.1723, allocations: 27.94 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1727, allocations: 35.66 kB / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1748, allocations: 1.754 MB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1752, allocations: 0.708 MB / 0.5667 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.81e-05/0.1753, allocations: 29.17 kB / 0.5667 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.1753, allocations: 39.42 kB / 0.5667 GB, free: 10.32 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1753, allocations: 0 / 0.5667 GB, free: 10.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.2019, allocations: 3.657 MB / 0.5703 GB, free: 6.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.107, allocations: 12.78 kB / 0.5703 GB, free: 6.719 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.362182367127389] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.232204013038427 8.259241904 8.090110622 Calling exit ...