Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.0008916/0.0008916, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.005349/0.005349, allocations: 162.8 kB / 24.7 MB, free: 9.414 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.8727/0.8727, allocations: 158.6 MB / 186.5 MB, free: 3.023 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.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.995e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005353/0.005372, allocations: 3.413 MB / 301.8 MB, free: 96 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.151/0.1564, allocations: 0.9948 MB / 302.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.1566, allocations: 8.312 kB / 302.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.1569, allocations: 114.8 kB / 303 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.1573, allocations: 220.5 kB / 303.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1576, allocations: 138.7 kB / 303.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008708/0.1585, allocations: 0.7311 MB / 304 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.1588, allocations: 133.6 kB / 304.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006651/0.1595, allocations: 408 kB / 304.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.1599, allocations: 222.8 kB / 304.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.16, allocations: 58.84 kB / 304.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1601, allocations: 60.34 kB / 304.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.1602, allocations: 135.6 kB / 305 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.1604, allocations: 227.4 kB / 305.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008559/0.1613, allocations: 0.7435 MB / 306 MB, free: 12.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1613, allocations: 0 / 306 MB, free: 12.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1613, allocations: 0 / 306 MB, free: 12.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.1613, allocations: 0 / 306 MB, free: 12.17 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001371/0.1627, allocations: 0.8514 MB / 306.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.1628, allocations: 16.41 kB / 306.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.1629, allocations: 82.55 kB / 306.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.163, allocations: 72.08 kB / 307 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.1638, allocations: 382.8 kB / 307.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.1639, allocations: 120.5 kB / 307.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.1639, allocations: 35.72 kB / 307.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.1646, allocations: 0.8858 MB / 308.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1647, allocations: 192 / 308.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1647, allocations: 25.03 kB / 308.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1647, allocations: 7.781 kB / 308.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.1652, allocations: 353 kB / 308.8 MB, free: 10.17 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.1669, allocations: 1.073 MB / 309.9 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.1675, allocations: 357.4 kB / 310.2 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.1678, allocations: 176.7 kB / 310.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1678, allocations: 6.625 kB / 310.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1678, allocations: 39.59 kB / 310.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/0.1678, allocations: 4 kB / 310.5 MB, free: 9.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=37): time 0.001148/0.169, allocations: 0.587 MB / 311 MB, free: 9.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.1691, allocations: 455.2 kB / 311.5 MB, free: 8.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.1696, allocations: 476.6 kB / 311.9 MB, free: 8.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1696, allocations: 37.92 kB / 312 MB, free: 8.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1697, allocations: 254 kB / 312.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.1698, allocations: 134 kB / 312.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1699, allocations: 84.27 kB / 312.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.17, allocations: 359.5 kB / 312.8 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.1703, allocations: 166.9 kB / 313 MB, free: 7.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.1707, allocations: 0.6916 MB / 313.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.1711, allocations: 342.5 kB / 314 MB, free: 6.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1712, allocations: 0 / 314 MB, free: 6.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000685/0.1718, allocations: 0.5196 MB / 314.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.1719, allocations: 31.72 kB / 314.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1719, allocations: 0 / 314.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.172, allocations: 51.45 kB / 314.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.1723, allocations: 92.16 kB / 314.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.1738, allocations: 2.742 MB / 317.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.1741, allocations: 58.31 kB / 317.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.1741, allocations: 10.41 kB / 317.5 MB, free: 3.594 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.1743, allocations: 169.9 kB / 317.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.1743, allocations: 64.44 kB / 317.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.1744, allocations: 56.45 kB / 317.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1744, allocations: 4.125 kB / 317.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1744, allocations: 3.938 kB / 317.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005727/0.175, allocations: 0.7445 MB / 318.5 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.1762, allocations: 0.9292 MB / 319.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1762, allocations: 3.656 kB / 319.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.1764, allocations: 96.8 kB / 319.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1764, allocations: 1.188 kB / 319.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1765, allocations: 7.125 kB / 319.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1765, allocations: 1.672 kB / 319.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1765, allocations: 1.844 kB / 319.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.1773, allocations: 0.6732 MB / 320.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.1775, allocations: 103 kB / 320.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.1776, allocations: 9.203 kB / 320.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.1778, allocations: 30.47 kB / 320.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.1779, allocations: 26.55 kB / 320.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1779, allocations: 10.94 kB / 320.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004088/0.1783, allocations: 341.4 kB / 320.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1783, allocations: 0 / 320.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005199/0.1788, allocations: 144.5 kB / 320.9 MB, free: 1.559 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * 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.001208/0.18, allocations: 1.226 MB / 322.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009249/0.181, allocations: 0.6548 MB / 322.8 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.181, allocations: 5.375 kB / 322.8 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.1812, allocations: 172.4 kB / 322.9 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.1818, allocations: 143.4 kB / 323.1 MB, free: 152 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.1884, allocations: 4.764 MB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1886, allocations: 237.3 kB / 328.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.1889, allocations: 69.72 kB / 328.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.1891, allocations: 183.5 kB / 328.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1891, allocations: 0 / 328.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.2233, allocations: 15.82 MB / 344.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.413, allocations: 4.062 kB / 344.2 MB, free: 15.43 MB / 314.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.128016574308276]