Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001404/0.001404, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001442/0.001442, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.91 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2633, allocations: 53.35 MB / 431.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00522/0.2686, allocations: 3.463 MB / 434.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2705, allocations: 0.9812 MB / 435.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.2708, allocations: 7.938 kB / 435.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.2711, allocations: 107.1 kB / 435.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.2716, allocations: 206.3 kB / 435.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2719, allocations: 139.8 kB / 436 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008297/0.2727, allocations: 0.7042 MB / 436.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.273, allocations: 143.2 kB / 436.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.2733, allocations: 279 kB / 437.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.2737, allocations: 306.6 kB / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.294e-05/0.2738, allocations: 60 kB / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.2739, allocations: 60 kB / 437.5 MB, free: 248 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.274, allocations: 131.6 kB / 437.6 MB, free: 116 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.2743, allocations: 266.9 kB / 437.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007799/0.2751, allocations: 0.7216 MB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2751, allocations: 4 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2751, allocations: 0 / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.2751, allocations: 0 / 438.6 MB, free: 15.12 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001622/0.2767, allocations: 0.8608 MB / 439.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2768, allocations: 12.03 kB / 439.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.2769, allocations: 87.66 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.277, allocations: 68.56 kB / 439.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007777/0.2778, allocations: 381.3 kB / 440 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.2779, allocations: 110.7 kB / 440.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.278, allocations: 32.38 kB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.2791, allocations: 0.9045 MB / 441 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2791, allocations: 0 / 441 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.2792, allocations: 16 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2792, allocations: 8 kB / 441.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008578/0.28, allocations: 351.8 kB / 441.4 MB, free: 12.08 MB / 350.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.002084/0.2821, allocations: 1.066 MB / 442.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/0.283, allocations: 366.5 kB / 442.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.2834, allocations: 176.4 kB / 443 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.2834, allocations: 4 kB / 443 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2835, allocations: 46.31 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.2835, allocations: 3.938 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001587/0.2851, allocations: 0.5966 MB / 443.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002321/0.2853, allocations: 452.8 kB / 444.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.2859, allocations: 478 kB / 444.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.2859, allocations: 33.7 kB / 444.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.2861, allocations: 256.6 kB / 444.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.2862, allocations: 130.9 kB / 445 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.2864, allocations: 81.64 kB / 445.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2866, allocations: 358.8 kB / 445.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.287, allocations: 169.6 kB / 445.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/0.2877, allocations: 0.6889 MB / 446.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/0.2885, allocations: 354.8 kB / 446.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2885, allocations: 0 / 446.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001071/0.2895, allocations: 0.5135 MB / 447.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.2896, allocations: 33.7 kB / 447.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2896, allocations: 0 / 447.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.2898, allocations: 57.62 kB / 447.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.2902, allocations: 83.88 kB / 447.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.2928, allocations: 2.746 MB / 450 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.2932, allocations: 59.73 kB / 450.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.2932, allocations: 8 kB / 450.1 MB, free: 2.715 MB / 350.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.0002436/0.2935, allocations: 177.9 kB / 450.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.2936, allocations: 55.91 kB / 450.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.2937, allocations: 68.84 kB / 450.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2937, allocations: 4 kB / 450.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2937, allocations: 0 / 450.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.2947, allocations: 0.7283 MB / 451.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.2964, allocations: 0.9382 MB / 452.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2964, allocations: 0 / 452.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.2969, allocations: 87.88 kB / 452.2 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2969, allocations: 4 kB / 452.2 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.2969, allocations: 15.98 kB / 452.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2969, allocations: 0 / 452.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2969, allocations: 4 kB / 452.2 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.2983, allocations: 0.6799 MB / 452.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.2985, allocations: 95.52 kB / 453 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.2986, allocations: 12 kB / 453 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.2989, allocations: 27.97 kB / 453 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.299, allocations: 27.95 kB / 453 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.299, allocations: 15.98 kB / 453 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004188/0.2994, allocations: 334.9 kB / 453.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2994, allocations: 0 / 453.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.2999, allocations: 147.8 kB / 453.5 MB, free: 15.12 MB / 366.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.001666/0.3016, allocations: 1.236 MB / 454.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.3028, allocations: 0.6583 MB / 455.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3028, allocations: 0 / 455.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004209/0.3033, allocations: 171.8 kB / 455.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.304, allocations: 138 kB / 455.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007183/0.3112, allocations: 4.773 MB / 460.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3114, allocations: 245.9 kB / 460.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.3117, allocations: 64.53 kB / 460.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.312, allocations: 183.4 kB / 461 MB, free: 7.441 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.312, allocations: 0 / 461 MB, free: 7.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/0.3658, allocations: 15.86 MB / 476.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.42, allocations: 8 kB / 476.8 MB, free: 7.938 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.896035445999587]