Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.001397/0.001397, allocations: 121.2 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.001444/0.001444, 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.499/1.499, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2343/0.2343, allocations: 46.92 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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",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.002387/0.002387, allocations: 83.86 kB / 0.4918 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1588, allocations: 66.04 MB / 0.5562 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003498/0.1623, allocations: 1.732 MB / 0.5579 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1641, allocations: 1.026 MB / 0.5589 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.1642, allocations: 4 kB / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1645, allocations: 43.77 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.1648, allocations: 91.55 kB / 0.5591 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.165, allocations: 75.72 kB / 0.5591 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1652, allocations: 111.6 kB / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1653, allocations: 15.97 kB / 0.5593 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1654, allocations: 39.8 kB / 0.5593 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.1655, allocations: 35.84 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1655, allocations: 7.938 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1656, allocations: 51.97 kB / 0.5594 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.1657, allocations: 19.92 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.1658, allocations: 27.75 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.166, allocations: 115.5 kB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.166, allocations: 0 / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.166, allocations: 0 / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.166, allocations: 0 / 0.5596 GB, free: 2.074 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.0006406/0.1667, allocations: 422.6 kB / 0.56 GB, free: 1.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1667, allocations: 12.03 kB / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.1668, allocations: 34.75 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.1668, allocations: 20.84 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1671, allocations: 208.2 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1671, allocations: 384 / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.1672, allocations: 12.36 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1673, allocations: 53.8 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1673, allocations: 0 / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1674, allocations: 7.984 kB / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1674, allocations: 4 kB / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.1674, allocations: 19.92 kB / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1679, allocations: 284.9 kB / 0.5606 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.168, allocations: 50.69 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.1681, allocations: 20.84 kB / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1681, allocations: 0 / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1683, allocations: 75.33 kB / 0.5607 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1683, allocations: 0 / 0.5607 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005688/0.1689, allocations: 185.3 kB / 0.5609 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1689, allocations: 51.41 kB / 0.561 GB, free: 460 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1691, allocations: 181.5 kB / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1691, allocations: 29.7 kB / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.1692, allocations: 96.14 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1693, allocations: 27.84 kB / 0.5613 GB, free: 104 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1693, allocations: 21.72 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1695, allocations: 330.8 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.1695, allocations: 15.98 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.1696, allocations: 41.64 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1698, allocations: 69.58 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1698, allocations: 0 / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.1699, allocations: 97.67 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.17, allocations: 4 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.17, allocations: 4.016 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.17, allocations: 0 / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.1701, allocations: 19.98 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1701, allocations: 3.984 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.1701, allocations: 4.375 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1701, allocations: 4 kB / 0.5619 GB, free: 15.46 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.0001199/0.1703, allocations: 131.3 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1703, allocations: 15.95 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.1703, allocations: 13.41 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1703, allocations: 4 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1703, allocations: 0 / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1703, allocations: 3.984 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.1709, allocations: 399.2 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1709, allocations: 4.031 kB / 0.5624 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.1709, allocations: 11.94 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1709, allocations: 0 / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1709, allocations: 0 / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1709, allocations: 11.92 kB / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1709, allocations: 0 / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1712, allocations: 200.3 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1712, allocations: 93.02 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1713, allocations: 0 / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.1713, allocations: 7.938 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.1714, allocations: 7.984 kB / 0.5627 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1714, allocations: 4 kB / 0.5627 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1715, allocations: 140.9 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1715, allocations: 3.938 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1718, allocations: 23.94 kB / 0.5629 GB, free: 14.3 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.002191/0.174, allocations: 1.089 MB / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1742, allocations: 55.86 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1742, allocations: 4 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.1743, allocations: 32.06 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1746, allocations: 32.06 kB / 0.5641 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1765, allocations: 1.649 MB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1769, allocations: 0.7002 MB / 0.5664 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.1769, allocations: 16.81 kB / 0.5664 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.177, allocations: 39.42 kB / 0.5664 GB, free: 10.7 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.177, allocations: 0 / 0.5664 GB, free: 10.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.2012, allocations: 3.428 MB / 0.5698 GB, free: 7.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.084, allocations: 6.734 kB / 0.5698 GB, free: 7.336 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.311532753054053] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.205446992069483 8.220901967 8.051040667 Calling exit ...