Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 107.2 kB / 16.92 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 50.81 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 49.44 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006427/0.12, allocations: 3.744 MB / 353.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.1223, allocations: 0.9929 MB / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003868/0.1227, allocations: 8 kB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.1231, allocations: 111 kB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00063/0.1237, allocations: 198.3 kB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.124, allocations: 135.8 kB / 355.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009822/0.125, allocations: 0.7072 MB / 356 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.1254, allocations: 211 kB / 356.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.1258, allocations: 263 kB / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.1262, allocations: 306.6 kB / 356.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.1264, allocations: 60 kB / 356.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1266, allocations: 60 kB / 356.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1267, allocations: 127.5 kB / 357.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.1272, allocations: 326.4 kB / 357.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008453/0.128, allocations: 0.7085 MB / 358.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.1281, allocations: 0 / 358.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1281, allocations: 4 kB / 358.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.1281, allocations: 0 / 358.1 MB, free: 12.36 MB / 302.1 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.00182/0.1299, allocations: 0.9131 MB / 359 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.13, allocations: 12.03 kB / 359 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002674/0.1303, allocations: 75.62 kB / 359.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1304, allocations: 72.19 kB / 359.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.1312, allocations: 438.7 kB / 359.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.1316, allocations: 91.2 kB / 359.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.1316, allocations: 40.36 kB / 359.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1328, allocations: 0.5215 MB / 360.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.1328, allocations: 0 / 360.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.1329, allocations: 16 kB / 360.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.133, allocations: 8 kB / 360.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1342, allocations: 383.7 kB / 360.6 MB, free: 9.648 MB / 302.1 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.002978/0.1372, allocations: 1.374 MB / 362 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.1386, allocations: 460.7 kB / 362.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.1392, allocations: 208.8 kB / 362.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.1392, allocations: 4 kB / 362.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1393, allocations: 42.5 kB / 362.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.1393, allocations: 0 / 362.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.00218/0.1415, allocations: 0.7896 MB / 363.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002831/0.1417, allocations: 445 kB / 363.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007383/0.1425, allocations: 474 kB / 364.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.1426, allocations: 37.7 kB / 364.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1428, allocations: 248.3 kB / 364.7 MB, free: 5.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.143, allocations: 142.1 kB / 364.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.1432, allocations: 77.61 kB / 364.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.1435, allocations: 362.7 kB / 365.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.144, allocations: 155.8 kB / 365.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.1448, allocations: 306.4 kB / 365.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.1459, allocations: 378.8 kB / 366.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1459, allocations: 0 / 366.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001528/0.1474, allocations: 0.5114 MB / 366.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.1475, allocations: 33.73 kB / 366.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1475, allocations: 0 / 366.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.1478, allocations: 57.58 kB / 366.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.1484, allocations: 95.86 kB / 366.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1932/0.3416, allocations: 2.955 MB / 369.7 MB, free: 24.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007089/0.3423, allocations: 56.72 kB / 369.8 MB, free: 24.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.3425, allocations: 12.84 kB / 369.8 MB, free: 24.42 MB / 302.1 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.0002947/0.3428, allocations: 175.8 kB / 369.9 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3429, allocations: 58.19 kB / 370 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.343, allocations: 54.61 kB / 370.1 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.3431, allocations: 6.953 kB / 370.1 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3431, allocations: 0 / 370.1 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/0.3444, allocations: 0.7619 MB / 370.8 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.3467, allocations: 1.078 MB / 371.9 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3467, allocations: 2.984 kB / 371.9 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.3473, allocations: 99.53 kB / 372 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3473, allocations: 1.766 kB / 372 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.3473, allocations: 7.438 kB / 372 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3473, allocations: 1.438 kB / 372 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3474, allocations: 0 / 372 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.3493, allocations: 0.7232 MB / 372.7 MB, free: 23.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.3495, allocations: 173.3 kB / 372.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.3496, allocations: 8.5 kB / 372.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.3501, allocations: 40.56 kB / 373 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.3503, allocations: 26.67 kB / 373 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.3504, allocations: 11.56 kB / 373 MB, free: 23.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005215/0.351, allocations: 341.2 kB / 373.3 MB, free: 23.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.351, allocations: 0 / 373.3 MB, free: 23.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008234/0.3518, allocations: 142.5 kB / 373.5 MB, free: 23.08 MB / 302.1 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.001967/0.3538, allocations: 1.274 MB / 374.7 MB, free: 22.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.3555, allocations: 0.6996 MB / 375.4 MB, free: 22.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.3556, allocations: 3.75 kB / 375.4 MB, free: 22.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.3562, allocations: 194.8 kB / 375.6 MB, free: 21.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.3572, allocations: 148.5 kB / 375.8 MB, free: 21.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008547/0.3658, allocations: 4.892 MB / 380.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.3663, allocations: 0.8374 MB / 381.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.3667, allocations: 64.16 kB / 381.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.3671, allocations: 181.2 kB / 381.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3671, allocations: 4 kB / 381.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05633/0.4235, allocations: 13.85 MB / 395.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.49, allocations: 3.516 kB / 395.6 MB, free: 11.37 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches