Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001954/0.001954, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002204/0.002204, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2251/0.2251, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB 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.003978/0.003978, allocations: 82.22 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1544, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004082/0.1585, allocations: 1.828 MB / 482 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1609, allocations: 1.099 MB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.1611, allocations: 0 / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.1618, allocations: 311.2 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006848/0.1625, allocations: 255.2 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1628, allocations: 111.6 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.1633, allocations: 259.3 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.1634, allocations: 13.69 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.1636, allocations: 135.5 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.164, allocations: 191.5 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.164, allocations: 4 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1642, allocations: 47.97 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.1644, allocations: 135.6 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.1646, allocations: 154.8 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.1651, allocations: 366.9 kB / 485.1 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1652, allocations: 3.938 kB / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1652, allocations: 0 / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1652, allocations: 7.984 kB / 485.1 MB, free: 228 kB / 350.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.001337/0.1665, allocations: 0.7464 MB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.1666, allocations: 8.031 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.1667, allocations: 30.75 kB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1668, allocations: 52.28 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.1675, allocations: 455.8 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1676, allocations: 384 / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1676, allocations: 7.938 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.1678, allocations: 87.36 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1678, allocations: 0 / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1679, allocations: 0 / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.1679, allocations: 4 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.168, allocations: 35.91 kB / 486.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.1686, allocations: 374.4 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.1689, allocations: 109.2 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.169, allocations: 41.64 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.169, allocations: 3.984 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.1693, allocations: 105.1 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1693, allocations: 0 / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005814/0.1699, allocations: 201.3 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.17, allocations: 81.11 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.1714, allocations: 1.058 MB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.1714, allocations: 33.7 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.1716, allocations: 240 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.1717, allocations: 27.69 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.1718, allocations: 33.66 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.172, allocations: 362.8 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.1721, allocations: 31.97 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1722, allocations: 59.42 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.1724, allocations: 91.34 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1724, allocations: 3.938 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003396/0.1728, allocations: 164.9 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1728, allocations: 8.062 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1728, allocations: 4 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1728, allocations: 3.938 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.173, allocations: 27.92 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.173, allocations: 0 / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.1731, allocations: 11.94 kB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1731, allocations: 7.984 kB / 489.5 MB, free: 11.46 MB / 366.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.0002428/0.1734, allocations: 221.7 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.1735, allocations: 51.34 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.326e-05/0.1736, allocations: 68.12 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1736, allocations: 3.984 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.1736, allocations: 256 / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1736, allocations: 4 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.174, allocations: 345.4 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.174, allocations: 0 / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.1741, allocations: 15.94 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1741, allocations: 0 / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1741, allocations: 3.984 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1741, allocations: 4 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1741, allocations: 0 / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1745, allocations: 205.2 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1746, allocations: 136.4 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.1747, allocations: 8 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.1748, allocations: 7.984 kB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1748, allocations: 7.984 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1748, allocations: 12 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009806/0.1758, allocations: 0.78 MB / 491.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1758, allocations: 3.938 kB / 491.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1761, allocations: 44 kB / 491.4 MB, free: 9.465 MB / 366.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.002128/0.1783, allocations: 1.057 MB / 492.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.1786, allocations: 83.84 kB / 492.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1786, allocations: 0 / 492.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1787, allocations: 43.97 kB / 492.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.1791, allocations: 61.28 kB / 492.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.1856, allocations: 4.686 MB / 497.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.1862, allocations: 0.8466 MB / 498.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.1864, allocations: 59.44 kB / 498.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.1866, allocations: 155.3 kB / 498.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1867, allocations: 0 / 498.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.2223, allocations: 8.934 MB / 0.4955 GB, free: 9.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.407, allocations: 11.7 kB / 0.4955 GB, free: 9.605 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)