Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006767/0.0006767, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003355/0.003355, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9114/0.9114, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.689e-05, allocations: 2.281 kB / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.002981/0.003007, allocations: 2.555 MB / 301 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.004343, allocations: 0.8226 MB / 301.8 MB, free: 136 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.004523, allocations: 7.938 kB / 301.8 MB, free: 128 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.004764, allocations: 71.42 kB / 301.9 MB, free: 56 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1459/0.1506, allocations: 137.8 kB / 302 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1509, allocations: 92.08 kB / 302.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.1514, allocations: 453.6 kB / 302.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.1516, allocations: 60.66 kB / 302.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.1519, allocations: 244.8 kB / 302.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1521, allocations: 132.1 kB / 303 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.1522, allocations: 34.03 kB / 303 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.91e-05/0.1522, allocations: 34.94 kB / 303 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.1523, allocations: 81.84 kB / 303.1 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1525, allocations: 133.7 kB / 303.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.153, allocations: 463 kB / 303.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.153, allocations: 1.625 kB / 303.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.153, allocations: 0 / 303.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.153, allocations: 2.25 kB / 303.7 MB, free: 13.03 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009093/0.1539, allocations: 0.6099 MB / 304.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.1539, allocations: 15.47 kB / 304.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.1541, allocations: 73.81 kB / 304.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.1541, allocations: 44.7 kB / 304.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.1546, allocations: 252.4 kB / 304.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.1547, allocations: 101.1 kB / 304.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.1547, allocations: 23.25 kB / 304.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.1552, allocations: 0.6778 MB / 305.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1552, allocations: 6.219 kB / 305.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1552, allocations: 12.75 kB / 305.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1552, allocations: 6.656 kB / 305.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.1556, allocations: 212.9 kB / 305.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1567, allocations: 0.7142 MB / 306.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.1571, allocations: 257.8 kB / 306.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1572, allocations: 106.1 kB / 306.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.1573, allocations: 8.672 kB / 306.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1573, allocations: 38.45 kB / 306.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.773e-06/0.1573, allocations: 0 / 306.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007999/0.1581, allocations: 408.2 kB / 307.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1582, allocations: 315.1 kB / 307.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1584, allocations: 282.5 kB / 307.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1584, allocations: 37.27 kB / 307.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.1585, allocations: 171.5 kB / 308 MB, free: 10.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.1586, allocations: 116.3 kB / 308.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.1586, allocations: 64.28 kB / 308.2 MB, free: 10 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.1587, allocations: 347.5 kB / 308.5 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1589, allocations: 122.2 kB / 308.7 MB, free: 9.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.1591, allocations: 0.4906 MB / 309.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1594, allocations: 269.1 kB / 309.4 MB, free: 8.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1594, allocations: 1.188 kB / 309.4 MB, free: 8.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004359/0.1598, allocations: 392 kB / 309.8 MB, free: 8.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.1598, allocations: 31.98 kB / 309.8 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1599, allocations: 1.969 kB / 309.8 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.16, allocations: 37.75 kB / 309.9 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.1605, allocations: 163.9 kB / 310 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.1624, allocations: 3.005 MB / 313 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.1627, allocations: 33.33 kB / 313.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1627, allocations: 12.47 kB / 313.1 MB, free: 5.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.1629, allocations: 157.5 kB / 313.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.1629, allocations: 38.36 kB / 313.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.163, allocations: 43.83 kB / 313.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.163, allocations: 7.094 kB / 313.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.163, allocations: 4 kB / 313.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003923/0.1634, allocations: 0.6489 MB / 314 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.1637, allocations: 314.4 kB / 314.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1637, allocations: 0 / 314.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.1643, allocations: 211.7 kB / 314.5 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.1644, allocations: 25.75 kB / 314.5 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1644, allocations: 7.281 kB / 314.5 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.1659, allocations: 2.822 MB / 317.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1659, allocations: 0 / 317.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.1665, allocations: 0.5125 MB / 317.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.1666, allocations: 65.77 kB / 317.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1667, allocations: 7.312 kB / 317.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.1668, allocations: 16 kB / 317.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.1669, allocations: 24.39 kB / 318 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1669, allocations: 10.25 kB / 318 MB, free: 1.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1671, allocations: 201 kB / 318.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1671, allocations: 0 / 318.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004179/0.1675, allocations: 114.6 kB / 318.3 MB, free: 1.742 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000646/0.1681, allocations: 1.059 MB / 319.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000927/0.1691, allocations: 0.5419 MB / 319.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1691, allocations: 2.094 kB / 319.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.1698, allocations: 391.6 kB / 320.3 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1701, allocations: 97.19 kB / 320.4 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.1738, allocations: 3.418 MB / 323.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.1739, allocations: 172.8 kB / 323.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.1741, allocations: 36.91 kB / 324 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1742, allocations: 105.1 kB / 324.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1742, allocations: 5.406 kB / 324.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.2087, allocations: 10.98 MB / 335.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.329, allocations: 0 / 335.1 MB, free: 8.285 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00029988 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank1.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank1.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank1.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank1.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank2.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank2.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank2.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank2.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.156391993165016]