Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2474/0.2474, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.003214/0.003214, allocations: 87.92 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.161, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00394/0.165, allocations: 1.727 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1668, allocations: 1.021 MB / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.1669, allocations: 0 / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.1673, allocations: 51.75 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.1676, allocations: 87.61 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.1678, allocations: 83.66 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.168, allocations: 99.7 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.1681, allocations: 15.98 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.1682, allocations: 43.78 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.1682, allocations: 31.73 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1683, allocations: 8 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1684, allocations: 47.97 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.1684, allocations: 19.92 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.1685, allocations: 35.75 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1687, allocations: 115.9 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1687, allocations: 0 / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1687, allocations: 3.938 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1688, allocations: 0 / 483.6 MB, free: 1.758 MB / 350.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.000704/0.1695, allocations: 426.8 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1695, allocations: 12.03 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.1696, allocations: 42.73 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1697, allocations: 12.75 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1699, allocations: 212.1 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.17, allocations: 384 / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.17, allocations: 11.94 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1701, allocations: 49.67 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1702, allocations: 0 / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1702, allocations: 4 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1702, allocations: 0 / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.476e-05/0.1703, allocations: 27.92 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.1706, allocations: 284.9 kB / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1708, allocations: 58.67 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.1709, allocations: 20.84 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1709, allocations: 7.938 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.1711, allocations: 67.39 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1711, allocations: 0 / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005462/0.1717, allocations: 177 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1717, allocations: 55.39 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.172, allocations: 206.3 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.172, allocations: 33.64 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.1721, allocations: 104.1 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1721, allocations: 19.72 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.1722, allocations: 29.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1723, allocations: 322.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.1724, allocations: 23.98 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.1725, allocations: 33.7 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1726, allocations: 62.09 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1726, allocations: 4 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.1728, allocations: 109.4 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1729, allocations: 4 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1729, allocations: 8 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1729, allocations: 0 / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.173, allocations: 12.19 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.173, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.1731, allocations: 27.81 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1731, allocations: 8 kB / 486 MB, free: 15.09 MB / 366.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.0001011/0.1732, allocations: 117.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.1732, allocations: 15.89 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.1733, allocations: 13.41 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1733, allocations: 0 / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1733, allocations: 0 / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.1733, allocations: 7.938 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.1738, allocations: 403.2 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1738, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.1738, allocations: 11.94 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1739, allocations: 3.938 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1739, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1739, allocations: 4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.1739, allocations: 3.984 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1741, allocations: 204.3 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.1742, allocations: 88.92 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1742, allocations: 3.938 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.1743, allocations: 4 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1744, allocations: 15.92 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1744, allocations: 0 / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1745, allocations: 164.8 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1745, allocations: 0 / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1748, allocations: 27.98 kB / 487.1 MB, free: 13.91 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: 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.002134/0.1769, allocations: 1.091 MB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1772, allocations: 63.89 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1772, allocations: 0 / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.1772, allocations: 31.94 kB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1776, allocations: 33.03 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1796, allocations: 1.69 MB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.18, allocations: 0.7041 MB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.539e-05/0.1801, allocations: 20.84 kB / 490.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.1802, allocations: 35.42 kB / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1802, allocations: 0 / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.2051, allocations: 3.43 MB / 494.2 MB, free: 6.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.196, allocations: 13.2 kB / 494.2 MB, free: 6.91 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)