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.00164/0.00164, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001777/0.001777, allocations: 213 kB / 23.73 MB, free: 4.387 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.427/1.427, 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.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.001517/0.001517, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2431, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00621/0.2493, allocations: 4.66 MB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.2518, allocations: 1.32 MB / 437.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.2522, allocations: 11.94 kB / 437.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.2526, allocations: 166.5 kB / 437.2 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007232/0.2533, allocations: 353 kB / 437.6 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.2538, allocations: 239.7 kB / 437.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.2551, allocations: 1.229 MB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.2555, allocations: 238.7 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.256, allocations: 490.3 kB / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006033/0.2566, allocations: 0.5291 MB / 440.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.2568, allocations: 111.9 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.257, allocations: 112 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.2572, allocations: 227.2 kB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.2576, allocations: 466 kB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2589, allocations: 1.265 MB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.2589, allocations: 4 kB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2589, allocations: 4 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.2589, allocations: 0 / 442.5 MB, free: 11.2 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.002537/0.2615, allocations: 1.335 MB / 443.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2615, allocations: 12.03 kB / 443.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.2617, allocations: 131.8 kB / 443.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.2619, allocations: 120.3 kB / 444 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.2629, allocations: 0.539 MB / 444.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.2632, allocations: 301.2 kB / 444.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.2633, allocations: 68.31 kB / 444.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.2652, allocations: 1.667 MB / 446.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2653, allocations: 0 / 446.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.2653, allocations: 28 kB / 446.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.2653, allocations: 16 kB / 446.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.2669, allocations: 0.6297 MB / 447.3 MB, free: 5.938 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.003664/0.2706, allocations: 1.748 MB / 449 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.2723, allocations: 0.7241 MB / 449.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008382/0.2731, allocations: 377.3 kB / 450.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-05/0.2732, allocations: 16.64 kB / 450.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.2732, allocations: 51.16 kB / 450.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.605e-06/0.2732, allocations: 0 / 450.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005126/0.2783, allocations: 1.527 MB / 451.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004675/0.2788, allocations: 0.8195 MB / 452.5 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009428/0.2798, allocations: 0.6646 MB / 453.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-05/0.2799, allocations: 45.7 kB / 453.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.2802, allocations: 365.3 kB / 453.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.2804, allocations: 281.5 kB / 453.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.2807, allocations: 146.7 kB / 454 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2808, allocations: 334 kB / 454.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/0.2816, allocations: 362.9 kB / 454.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.2831, allocations: 1.402 MB / 456.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.2846, allocations: 0.7051 MB / 456.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2846, allocations: 1.859 kB / 456.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002956/0.2876, allocations: 1.201 MB / 458 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/0.2876, allocations: 93.09 kB / 458.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2877, allocations: 0 / 458.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007006/0.2884, allocations: 239.2 kB / 458.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.289, allocations: 143.8 kB / 458.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00802/0.297, allocations: 6.472 MB / 465 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/0.2979, allocations: 103.6 kB / 465.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.298, allocations: 39.92 kB / 465.1 MB, free: 2.922 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.0003713/0.2984, allocations: 221.7 kB / 465.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.2985, allocations: 95.44 kB / 465.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.2987, allocations: 100.5 kB / 465.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2987, allocations: 8 kB / 465.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2987, allocations: 0 / 465.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002562/0.3013, allocations: 1.256 MB / 466.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.3052, allocations: 1.806 MB / 468.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3052, allocations: 0 / 468.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/0.3059, allocations: 139.8 kB / 468.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/0.3065, allocations: 206.6 kB / 468.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.3065, allocations: 15.98 kB / 468.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00669/0.3132, allocations: 5 MB / 473.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3132, allocations: 0 / 473.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.3166, allocations: 1.446 MB / 475.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/0.317, allocations: 179.2 kB / 475.5 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3171, allocations: 20 kB / 475.6 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.3178, allocations: 47.89 kB / 475.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.318, allocations: 72.52 kB / 475.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.318, allocations: 16 kB / 475.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006293/0.3186, allocations: 479 kB / 476.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3186, allocations: 4 kB / 476.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009033/0.3195, allocations: 291.8 kB / 476.5 MB, free: 6.992 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.003705/0.3232, allocations: 2.017 MB / 478.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.3258, allocations: 1.411 MB / 479.9 MB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.3258, allocations: 4.109 kB / 479.9 MB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.3272, allocations: 0.7612 MB / 480.6 MB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3283, allocations: 246.8 kB / 480.9 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.3422, allocations: 8.134 MB / 489 MB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3426, allocations: 367.6 kB / 489.4 MB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004997/0.3431, allocations: 110.7 kB / 489.5 MB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.3435, allocations: 315.3 kB / 489.8 MB, free: 9.188 MB / 398.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3435, allocations: 0 / 489.8 MB, free: 9.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07316/0.4167, allocations: 29.15 MB / 0.5068 GB, free: 12.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.23, allocations: 7.922 kB / 0.5068 GB, free: 12.52 MB / 430.1 MB " [Timeout remaining time 646] (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: 16.761326084000757]