Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2302/0.2302, allocations: 46.12 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.003573/0.003573, allocations: 91.09 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1547, allocations: 62.44 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003245/0.158, allocations: 1.666 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.159, allocations: 0.5494 MB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.1591, allocations: 0 / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.1597, allocations: 451.1 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.1602, allocations: 291.3 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1606, allocations: 130.6 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1608, allocations: 171.6 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.1609, allocations: 15.98 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.161, allocations: 107.8 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.1613, allocations: 211.6 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1613, allocations: 4 kB / 483.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.427e-05/0.1614, allocations: 31.98 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1615, allocations: 87.62 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.1616, allocations: 110.9 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1619, allocations: 259.2 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1619, allocations: 0 / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1619, allocations: 4 kB / 484.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1619, allocations: 0 / 484.3 MB, free: 1.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000759/0.1627, allocations: 0.6375 MB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1628, allocations: 8.031 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.1628, allocations: 30.75 kB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.1629, allocations: 48.38 kB / 485 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1632, allocations: 300.1 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1632, allocations: 384 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1632, allocations: 8.312 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1634, allocations: 61.61 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1634, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.1634, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1634, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.1635, allocations: 27.97 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.164, allocations: 392.5 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1642, allocations: 54.55 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.1643, allocations: 12.86 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1643, allocations: 7.938 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1643, allocations: 30.56 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1644, allocations: 0 / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000617/0.165, allocations: 228.3 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.165, allocations: 51.41 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009436/0.166, allocations: 0.8776 MB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.166, allocations: 25.7 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.1662, allocations: 228 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1662, allocations: 19.73 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1663, allocations: 13.72 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1665, allocations: 370.7 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.1666, allocations: 19.98 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.1666, allocations: 23.92 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1668, allocations: 44.83 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1668, allocations: 0 / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002307/0.167, allocations: 121.3 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.167, allocations: 8 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1671, allocations: 0 / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1671, allocations: 3.984 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.1671, allocations: 15.98 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1672, allocations: 0 / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.1672, allocations: 7.938 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1672, allocations: 0 / 487.9 MB, free: 13.2 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 (5): * Single equations (assignments): 5 * 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.0002244/0.1675, allocations: 217.7 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.1675, allocations: 43.53 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.1678, allocations: 129.2 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1678, allocations: 4 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1678, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1679, allocations: 3.938 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.1684, allocations: 470.4 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1685, allocations: 0 / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.1685, allocations: 15.98 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1685, allocations: 0 / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1685, allocations: 3.938 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1686, allocations: 0 / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1686, allocations: 3.938 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1688, allocations: 219 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.169, allocations: 120.5 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.169, allocations: 4.188 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.1691, allocations: 8 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.1691, allocations: 0 / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1691, allocations: 7.984 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006713/0.1698, allocations: 0.655 MB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1698, allocations: 0 / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1701, allocations: 27.98 kB / 489.8 MB, free: 11.18 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 (5): * Single equations (assignments): 5 * 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.002033/0.1721, allocations: 1.039 MB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1724, allocations: 55.91 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1724, allocations: 4 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.1725, allocations: 27.97 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1728, allocations: 27.55 kB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.1766, allocations: 3.26 MB / 494.2 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.1771, allocations: 0.8337 MB / 495 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.1772, allocations: 7.984 kB / 495 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1773, allocations: 107.4 kB / 495.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1773, allocations: 0 / 495.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.2067, allocations: 5.934 MB / 0.4893 GB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.285, allocations: 11.89 kB / 0.4893 GB, free: 15.95 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1)