Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001814/0.001815, allocations: 104.5 kB / 17.64 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.002141/0.002142, allocations: 210.4 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.504/1.504, 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.2334/0.2334, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.00386/0.00386, allocations: 81.72 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1608, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004452/0.1653, allocations: 2.039 MB / 482.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1674, allocations: 1.021 MB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.1675, allocations: 0 / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.1681, allocations: 255.2 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006081/0.1687, allocations: 259 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1699, allocations: 492.7 kB / 484.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000463/0.1704, allocations: 323.1 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1706, allocations: 72.97 kB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.1708, allocations: 131.5 kB / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1711, allocations: 203.2 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.1712, allocations: 15.94 kB / 485 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1714, allocations: 75.95 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1715, allocations: 91.56 kB / 485.2 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1716, allocations: 127 kB / 485.3 MB, free: 48 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.1721, allocations: 338.7 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1721, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1721, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1722, allocations: 4 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001062/0.1732, allocations: 0.665 MB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1733, allocations: 8.031 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/0.1733, allocations: 46.73 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.1734, allocations: 44.38 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.1738, allocations: 342 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1739, allocations: 12.38 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1739, allocations: 12.38 kB / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1742, allocations: 109.6 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1742, allocations: 3.938 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1742, allocations: 7.984 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1742, allocations: 4 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1744, allocations: 75.83 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.1751, allocations: 0.5003 MB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1753, allocations: 90.55 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.1754, allocations: 32.84 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1754, allocations: 3.938 kB / 487.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1755, allocations: 46.5 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.1755, allocations: 0 / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001004/0.1765, allocations: 392.4 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1766, allocations: 55.41 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/0.1773, allocations: 0.5839 MB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1773, allocations: 33.7 kB / 488.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1775, allocations: 208.3 kB / 488.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.1775, allocations: 59.11 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1776, allocations: 37.7 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1778, allocations: 354.8 kB / 489.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1779, allocations: 47.98 kB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1781, allocations: 47.97 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.1783, allocations: 134.9 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1783, allocations: 0 / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003852/0.1787, allocations: 200.9 kB / 489.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1787, allocations: 8 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1788, allocations: 0 / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1788, allocations: 0 / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1789, allocations: 35.97 kB / 489.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1789, allocations: 3.984 kB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.184e-05/0.179, allocations: 8 kB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1791, allocations: 15.92 kB / 489.8 MB, free: 11.3 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 (17): * Single equations (assignments): 17 * 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.0001882/0.1793, allocations: 181.7 kB / 490 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.1793, allocations: 39.44 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.1798, allocations: 239.7 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1799, allocations: 4 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1799, allocations: 3.938 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1799, allocations: 0 / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.1808, allocations: 0.6425 MB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1808, allocations: 4 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1809, allocations: 35.98 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1809, allocations: 0 / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1809, allocations: 4 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1809, allocations: 3.938 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.181, allocations: 0 / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.1814, allocations: 309.3 kB / 491.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1815, allocations: 120.6 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.1816, allocations: 12 kB / 491.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1817, allocations: 11.92 kB / 491.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1817, allocations: 11.98 kB / 491.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1817, allocations: 8 kB / 491.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004994/0.1822, allocations: 439.1 kB / 491.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1822, allocations: 0 / 491.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1826, allocations: 48 kB / 491.9 MB, free: 9.102 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.00336/0.1859, allocations: 1.424 MB / 493.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1864, allocations: 142.1 kB / 493.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1864, allocations: 4 kB / 493.4 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.1866, allocations: 79.89 kB / 493.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.1872, allocations: 81.61 kB / 493.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.1919, allocations: 3.197 MB / 496.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.1924, allocations: 0.8104 MB / 497.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.1926, allocations: 58.23 kB / 497.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.1928, allocations: 135.4 kB / 497.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1928, allocations: 0 / 497.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.2247, allocations: 7.488 MB / 0.4934 GB, free: 11.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.449, allocations: 9 kB / 0.4934 GB, free: 11.92 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1)