Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, 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.001348/0.001348, 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.481/1.481, 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.2338/0.2338, 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.002274/0.002274, allocations: 75.86 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1474, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003746/0.1512, allocations: 1.678 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1524, allocations: 0.561 MB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.1525, allocations: 0 / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1528, allocations: 51.75 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.1532, allocations: 95.64 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1536, allocations: 142.9 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1538, allocations: 79.77 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1539, allocations: 20.22 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.154, allocations: 35.84 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1541, allocations: 59.75 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1541, allocations: 4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1542, allocations: 51.98 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.1543, allocations: 19.92 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.1544, allocations: 35.75 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1546, allocations: 119.8 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1546, allocations: 0 / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1546, allocations: 3.938 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1547, allocations: 0 / 483.2 MB, free: 2.172 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.0006239/0.1553, allocations: 430.9 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1553, allocations: 8.031 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.1554, allocations: 42.67 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1554, allocations: 8.844 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1557, allocations: 196.8 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1557, allocations: 4.375 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1557, allocations: 4.375 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1559, allocations: 65.61 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1559, allocations: 0 / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.156, allocations: 8 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.156, allocations: 0 / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1561, allocations: 43.89 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1566, allocations: 308.7 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1568, allocations: 66.58 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.1569, allocations: 28.97 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.157, allocations: 0 / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.157, allocations: 30.56 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.157, allocations: 0 / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00153/0.1585, allocations: 401 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1586, allocations: 55.41 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1588, allocations: 199.3 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1589, allocations: 33.7 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.159, allocations: 104 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.159, allocations: 31.55 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.1591, allocations: 33.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1592, allocations: 322.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1594, allocations: 44.16 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1595, allocations: 39.97 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.1598, allocations: 104.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1598, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003349/0.1601, allocations: 145.4 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1602, allocations: 4 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1602, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1602, allocations: 7.938 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1603, allocations: 31.86 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1603, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.1604, allocations: 11.98 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1604, allocations: 4 kB / 485.9 MB, free: 15.17 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.0001173/0.1606, allocations: 133.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.1606, allocations: 11.81 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.161, allocations: 166.9 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.161, allocations: 3.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1611, allocations: 4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1611, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007756/0.1618, allocations: 480 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1619, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.162, allocations: 27.97 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.162, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.162, allocations: 4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.162, allocations: 4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.162, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.1624, allocations: 257.4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.1625, allocations: 89.02 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1625, allocations: 7.984 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.1626, allocations: 8 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.1627, allocations: 15.98 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.1627, allocations: 4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1629, allocations: 151.9 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1629, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.1632, allocations: 31.89 kB / 487.3 MB, free: 13.68 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.002393/0.1656, allocations: 1.137 MB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003599/0.1659, allocations: 111.9 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.166, allocations: 0 / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1661, allocations: 63.89 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1665, allocations: 21.72 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.1691, allocations: 1.813 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.1695, allocations: 0.7158 MB / 491.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.331e-05/0.1696, allocations: 16.55 kB / 491.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.1697, allocations: 39.64 kB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1697, allocations: 0 / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.1966, allocations: 3.342 MB / 494.5 MB, free: 6.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.156, allocations: 1.078 kB / 494.5 MB, free: 6.52 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28_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_CombiTable2Ds_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1)