Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 43.92 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2501, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006381/0.2565, allocations: 5.24 MB / 427.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.259, allocations: 1.339 MB / 429.2 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.2594, allocations: 11.94 kB / 429.2 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.2598, allocations: 170.5 kB / 429.4 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006915/0.2605, allocations: 345.1 kB / 429.7 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.261, allocations: 239.7 kB / 430 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.2624, allocations: 1.241 MB / 431.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.2628, allocations: 235.7 kB / 431.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.2634, allocations: 486.3 kB / 431.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.264, allocations: 0.533 MB / 432.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.2642, allocations: 108 kB / 432.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.2644, allocations: 112 kB / 432.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.2646, allocations: 223.2 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.2651, allocations: 0.5522 MB / 433.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.2664, allocations: 1.26 MB / 434.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2664, allocations: 0 / 434.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2664, allocations: 0 / 434.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.2664, allocations: 0 / 434.7 MB, free: 2.5 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002568/0.269, allocations: 1.343 MB / 436 MB, free: 1.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.269, allocations: 8.031 kB / 436 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.2692, allocations: 131.8 kB / 436.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.2694, allocations: 124.2 kB / 436.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.2705, allocations: 0.5429 MB / 436.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.2708, allocations: 309.1 kB / 437.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.2709, allocations: 60.38 kB / 437.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.2724, allocations: 0.9055 MB / 438.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.2724, allocations: 4 kB / 438.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.42e-05/0.2725, allocations: 28 kB / 438.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.2725, allocations: 16 kB / 438.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.274, allocations: 0.6375 MB / 438.8 MB, free: 14.16 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.003843/0.2779, allocations: 2.155 MB / 440.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.2795, allocations: 0.7263 MB / 441.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/0.2804, allocations: 383.3 kB / 442 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/0.2804, allocations: 16.58 kB / 442 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.2805, allocations: 47.22 kB / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.965e-06/0.2805, allocations: 0 / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005085/0.2856, allocations: 1.523 MB / 443.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000537/0.2861, allocations: 0.8234 MB / 444.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/0.2871, allocations: 0.6647 MB / 445.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.2872, allocations: 45.7 kB / 445.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.2875, allocations: 369.3 kB / 445.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.2878, allocations: 281.5 kB / 445.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.288, allocations: 148.5 kB / 445.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2882, allocations: 334 kB / 446.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.2889, allocations: 281.8 kB / 446.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009608/0.2899, allocations: 0.5625 MB / 447.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.2913, allocations: 0.7012 MB / 447.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2913, allocations: 4 kB / 447.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002791/0.2941, allocations: 1.122 MB / 448.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.746e-05/0.2941, allocations: 87.59 kB / 449 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.2942, allocations: 8 kB / 449 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/0.2949, allocations: 235.2 kB / 449.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.2955, allocations: 143.8 kB / 449.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/0.3038, allocations: 6.529 MB / 455.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/0.3048, allocations: 99.55 kB / 456 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.3048, allocations: 35.92 kB / 456 MB, free: 11.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003833/0.3052, allocations: 217.7 kB / 456.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.3054, allocations: 95.44 kB / 456.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.3056, allocations: 96.53 kB / 456.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3056, allocations: 11.94 kB / 456.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3056, allocations: 0 / 456.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002622/0.3082, allocations: 1.264 MB / 457.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.3124, allocations: 1.966 MB / 459.7 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3124, allocations: 8 kB / 459.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.3131, allocations: 143.8 kB / 459.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/0.3137, allocations: 206.5 kB / 460 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.3137, allocations: 12 kB / 460 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006729/0.3205, allocations: 5.035 MB / 465.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3205, allocations: 3.938 kB / 465.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.3239, allocations: 1.435 MB / 466.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.3243, allocations: 179.2 kB / 466.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3245, allocations: 20 kB / 466.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.3251, allocations: 51.94 kB / 466.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.3253, allocations: 64.53 kB / 466.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.3253, allocations: 16 kB / 466.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006067/0.3259, allocations: 487 kB / 467.3 MB, free: 32 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3259, allocations: 0 / 467.3 MB, free: 32 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008731/0.3268, allocations: 295.8 kB / 467.6 MB, free: 15.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00367/0.3305, allocations: 2.009 MB / 469.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.3328, allocations: 1.34 MB / 471 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3328, allocations: 4 kB / 471 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.3342, allocations: 0.7612 MB / 471.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3352, allocations: 247 kB / 472 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.3487, allocations: 7.812 MB / 479.8 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.3494, allocations: 0.9637 MB / 480.7 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.3498, allocations: 106.7 kB / 480.8 MB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.3503, allocations: 319.3 kB / 481.2 MB, free: 1.809 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3503, allocations: 0 / 481.2 MB, free: 1.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07533/0.4256, allocations: 27.28 MB / 0.4965 GB, free: 6.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/14.94, allocations: 7.812 kB / 0.4965 GB, free: 6.945 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_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_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.430188476002513]