Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.00135/0.00135, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001457/0.001457, allocations: 208 kB / 23.74 MB, free: 4.539 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.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.973 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.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2332, allocations: 53.37 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00669/0.2399, allocations: 5.25 MB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.2428, allocations: 1.374 MB / 437.8 MB, free: 208 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.2431, allocations: 11.94 kB / 437.8 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.2435, allocations: 174.4 kB / 437.9 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006866/0.2442, allocations: 345.2 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.2447, allocations: 247.6 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.2461, allocations: 1.223 MB / 439.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.2465, allocations: 242.1 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005464/0.2471, allocations: 486.3 kB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.2477, allocations: 0.5291 MB / 441 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.2479, allocations: 108 kB / 441.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.248, allocations: 116 kB / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.2482, allocations: 231.2 kB / 441.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005111/0.2488, allocations: 0.5405 MB / 442 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.25, allocations: 1.262 MB / 443.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.25, allocations: 0 / 443.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.25, allocations: 0 / 443.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.25, allocations: 0 / 443.2 MB, free: 10.7 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002555/0.2526, allocations: 1.335 MB / 444.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2526, allocations: 8.031 kB / 444.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.2528, allocations: 127.9 kB / 444.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.253, allocations: 116.3 kB / 444.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.254, allocations: 0.5584 MB / 445.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.2543, allocations: 297.2 kB / 445.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2544, allocations: 64.38 kB / 445.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.256, allocations: 0.9062 MB / 446.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.256, allocations: 3.938 kB / 446.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.191e-05/0.2561, allocations: 39.94 kB / 446.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.2561, allocations: 12 kB / 446.7 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.2575, allocations: 0.6297 MB / 447.3 MB, free: 6.371 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.003645/0.2612, allocations: 2.163 MB / 449.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.2629, allocations: 0.7292 MB / 450.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/0.2637, allocations: 379.2 kB / 450.6 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.323e-05/0.2638, allocations: 16.64 kB / 450.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.2638, allocations: 51.22 kB / 450.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.315e-06/0.2638, allocations: 0 / 450.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005088/0.2689, allocations: 1.531 MB / 452.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004373/0.2693, allocations: 0.8234 MB / 453 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/0.2702, allocations: 0.6569 MB / 453.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/0.2703, allocations: 45.7 kB / 453.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.2706, allocations: 373.2 kB / 454.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.2709, allocations: 277.6 kB / 454.3 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.2711, allocations: 146.7 kB / 454.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2713, allocations: 334 kB / 454.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/0.2719, allocations: 285.8 kB / 455.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009622/0.2729, allocations: 0.5624 MB / 455.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.2744, allocations: 0.7051 MB / 456.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2744, allocations: 7.938 kB / 456.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002771/0.2771, allocations: 1.126 MB / 457.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/0.2772, allocations: 85.11 kB / 457.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2772, allocations: 0 / 457.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.2779, allocations: 235.2 kB / 457.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.2786, allocations: 143.8 kB / 457.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008203/0.2868, allocations: 6.529 MB / 464.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009939/0.2878, allocations: 107.5 kB / 464.6 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.2879, allocations: 27.94 kB / 464.6 MB, free: 4.066 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.0003726/0.2882, allocations: 221.7 kB / 464.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.2884, allocations: 99.42 kB / 464.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.2886, allocations: 96.47 kB / 465 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2886, allocations: 4 kB / 465 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2886, allocations: 8 kB / 465 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002576/0.2912, allocations: 1.264 MB / 466.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.2952, allocations: 1.954 MB / 468.2 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2952, allocations: 0 / 468.2 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.2959, allocations: 143.8 kB / 468.4 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005623/0.2965, allocations: 198.5 kB / 468.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.2965, allocations: 19.98 kB / 468.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006666/0.3032, allocations: 5.039 MB / 473.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3032, allocations: 0 / 473.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.3067, allocations: 1.45 MB / 475.1 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/0.3071, allocations: 171.4 kB / 475.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.3072, allocations: 20 kB / 475.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.3079, allocations: 51.94 kB / 475.3 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.3081, allocations: 72.52 kB / 475.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.522e-05/0.3081, allocations: 27.94 kB / 475.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006183/0.3087, allocations: 471 kB / 475.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3087, allocations: 0 / 475.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008777/0.3096, allocations: 291.8 kB / 476.2 MB, free: 7.941 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.003659/0.3133, allocations: 2.013 MB / 478.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.3156, allocations: 1.34 MB / 479.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3156, allocations: 0 / 479.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.317, allocations: 0.7574 MB / 480.3 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3181, allocations: 243 kB / 480.5 MB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.3313, allocations: 7.815 MB / 488.3 MB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.3319, allocations: 0.9559 MB / 489.3 MB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004351/0.3323, allocations: 106.7 kB / 489.4 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/0.3328, allocations: 323.3 kB / 489.7 MB, free: 10.03 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3328, allocations: 0 / 489.7 MB, free: 10.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07168/0.4045, allocations: 27.31 MB / 0.5049 GB, free: 15.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/14.91, allocations: 7.797 kB / 0.5049 GB, free: 15.12 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.371415435001836]