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.001414/0.001414, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001554/0.001554, allocations: 209.5 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.001599/0.001599, allocations: 43.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.264, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00638/0.2704, allocations: 4.66 MB / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.2729, allocations: 1.316 MB / 437.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.2732, allocations: 15.88 kB / 437.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.2736, allocations: 166.5 kB / 437.2 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006254/0.2742, allocations: 341.2 kB / 437.6 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.2747, allocations: 247.6 kB / 437.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.276, allocations: 1.227 MB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.2764, allocations: 234.7 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000547/0.2769, allocations: 482.4 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.2775, allocations: 461.8 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.2777, allocations: 108 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.2779, allocations: 111.9 kB / 440.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.2781, allocations: 235.2 kB / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.2786, allocations: 470 kB / 441.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.2799, allocations: 1.268 MB / 442.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2799, allocations: 0 / 442.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2799, allocations: 0 / 442.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.2799, allocations: 4 kB / 442.4 MB, free: 11.28 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.002562/0.2825, allocations: 1.335 MB / 443.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2825, allocations: 8.031 kB / 443.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.2827, allocations: 131.9 kB / 443.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.2829, allocations: 116.3 kB / 444 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.284, allocations: 0.5467 MB / 444.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.2843, allocations: 301.2 kB / 444.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.2844, allocations: 64.38 kB / 444.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.2866, allocations: 1.663 MB / 446.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.2866, allocations: 4 kB / 446.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.2867, allocations: 32 kB / 446.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.2867, allocations: 15.94 kB / 446.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.2883, allocations: 0.6297 MB / 447.2 MB, free: 6.02 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.003718/0.292, allocations: 1.744 MB / 448.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.2938, allocations: 0.7259 MB / 449.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.2947, allocations: 377.8 kB / 450 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.47e-05/0.2947, allocations: 16.64 kB / 450.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.2948, allocations: 47.22 kB / 450.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.026e-06/0.2948, allocations: 4 kB / 450.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005226/0.3, allocations: 1.531 MB / 451.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005374/0.3006, allocations: 0.8195 MB / 452.5 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009326/0.3015, allocations: 0.6686 MB / 453.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.3016, allocations: 45.7 kB / 453.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.3019, allocations: 361.3 kB / 453.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.3022, allocations: 281.5 kB / 453.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.3025, allocations: 150.7 kB / 453.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3026, allocations: 334 kB / 454.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/0.3034, allocations: 363 kB / 454.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.3049, allocations: 1.402 MB / 456 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.3064, allocations: 0.7012 MB / 456.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3064, allocations: 0 / 456.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002913/0.3093, allocations: 1.205 MB / 457.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.324e-05/0.3094, allocations: 89.09 kB / 458 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3094, allocations: 3.984 kB / 458 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000714/0.3102, allocations: 235.3 kB / 458.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.3108, allocations: 143.8 kB / 458.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008517/0.3193, allocations: 6.479 MB / 464.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009986/0.3203, allocations: 111.4 kB / 465 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.3204, allocations: 27.98 kB / 465 MB, free: 3.004 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.0004274/0.3208, allocations: 229.7 kB / 465.2 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.321, allocations: 95.44 kB / 465.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.3212, allocations: 96.52 kB / 465.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3212, allocations: 8 kB / 465.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3212, allocations: 0 / 465.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002643/0.3238, allocations: 1.256 MB / 466.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.3279, allocations: 1.791 MB / 468.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3279, allocations: 0 / 468.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.3286, allocations: 155.8 kB / 468.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000555/0.3292, allocations: 194.5 kB / 468.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.3293, allocations: 27.92 kB / 468.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006998/0.3363, allocations: 5.004 MB / 473.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3363, allocations: 4.188 kB / 473.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.3398, allocations: 1.435 MB / 475.3 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.3403, allocations: 179.1 kB / 475.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.3405, allocations: 20 kB / 475.5 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.3412, allocations: 48.08 kB / 475.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.3414, allocations: 68.53 kB / 475.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.3414, allocations: 27.98 kB / 475.6 MB, free: 7.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006648/0.3421, allocations: 475 kB / 476.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0 / 476.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009523/0.343, allocations: 295.8 kB / 476.4 MB, free: 7.07 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.003901/0.3469, allocations: 2.013 MB / 478.4 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.3495, allocations: 1.415 MB / 479.8 MB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.3495, allocations: 8 kB / 479.8 MB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.3511, allocations: 0.7496 MB / 480.6 MB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.3522, allocations: 242.8 kB / 480.8 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.3671, allocations: 8.13 MB / 488.9 MB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.3675, allocations: 371.6 kB / 489.3 MB, free: 9.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004954/0.368, allocations: 106.7 kB / 489.4 MB, free: 9.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.3685, allocations: 319.3 kB / 489.7 MB, free: 9.277 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3685, allocations: 3.938 kB / 489.7 MB, free: 9.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/0.4755, allocations: 28.95 MB / 0.5065 GB, free: 12.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.27, allocations: 6.984 kB / 0.5065 GB, free: 12.8 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.84592912066728]