Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001565/0.001565, allocations: 210.4 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.57/1.57, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2382/0.2382, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002441/0.002441, allocations: 80.28 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1612, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.004164/0.1654, allocations: 1.675 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1667, allocations: 0.5767 MB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.1668, allocations: 4 kB / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.1672, allocations: 71.72 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.1676, allocations: 95.55 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.1682, allocations: 177.9 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.1685, allocations: 79.89 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1687, allocations: 28.22 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.1688, allocations: 43.77 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1689, allocations: 51.77 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1689, allocations: 4 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.169, allocations: 47.98 kB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.1691, allocations: 23.92 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.1692, allocations: 43.72 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1695, allocations: 111.9 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1695, allocations: 4 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1695, allocations: 0 / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1695, allocations: 0 / 483.2 MB, free: 2.102 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006532/0.1702, allocations: 434.8 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.1702, allocations: 12.03 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.1703, allocations: 30.75 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1703, allocations: 8.844 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1706, allocations: 204.8 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.1706, allocations: 384 / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1706, allocations: 8.375 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1708, allocations: 77.47 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1709, allocations: 4 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1709, allocations: 0 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1709, allocations: 0 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.1711, allocations: 47.94 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.1717, allocations: 332.6 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.172, allocations: 58.55 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1721, allocations: 28.95 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1722, allocations: 4 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1722, allocations: 34.56 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.1722, allocations: 0 / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001952/0.1742, allocations: 433.1 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1743, allocations: 55.41 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.1747, allocations: 199.3 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.1747, allocations: 29.7 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.1748, allocations: 108 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1748, allocations: 35.56 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.1749, allocations: 25.7 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.1752, allocations: 322.8 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1753, allocations: 55.95 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.1755, allocations: 55.95 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.1758, allocations: 129 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1758, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003833/0.1762, allocations: 169.3 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1762, allocations: 8 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1763, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.1763, allocations: 3.938 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1764, allocations: 31.97 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1764, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.1765, allocations: 7.984 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1765, allocations: 8 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001487/0.1767, allocations: 129.8 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.1768, allocations: 15.81 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.1773, allocations: 190.9 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.1773, allocations: 7.938 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1773, allocations: 3.938 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.1773, allocations: 3.984 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.1783, allocations: 0.4999 MB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1783, allocations: 4 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1784, allocations: 27.97 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1784, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1784, allocations: 8 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1785, allocations: 4.062 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1785, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.179, allocations: 272.9 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.1791, allocations: 93 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1791, allocations: 8 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.1792, allocations: 4.188 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.1793, allocations: 7.984 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1793, allocations: 15.94 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1794, allocations: 147.9 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1794, allocations: 0 / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1797, allocations: 35.89 kB / 487.6 MB, free: 13.39 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002446/0.1822, allocations: 1.149 MB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.1826, allocations: 135.8 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1827, allocations: 4 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.1829, allocations: 71.89 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.1833, allocations: 21.06 kB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.1862, allocations: 1.907 MB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1867, allocations: 0.7119 MB / 491.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1868, allocations: 36.52 kB / 491.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.1869, allocations: 39.42 kB / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1869, allocations: 0 / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.214, allocations: 3.448 MB / 495.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.18, allocations: 10.58 kB / 495.1 MB, free: 5.965 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1)