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.00163/0.00163, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001975/0.001975, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.468/1.468, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001493/0.001493, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 53.32 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.223/0.3305, allocations: 5.228 MB / 431.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.3334, allocations: 1.362 MB / 432.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005454/0.334, allocations: 14.88 kB / 432.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.3344, allocations: 169.6 kB / 433.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007704/0.3352, allocations: 350 kB / 433.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.3358, allocations: 240 kB / 433.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.337, allocations: 1.23 MB / 434.9 MB, free: 7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.3373, allocations: 240.6 kB / 435.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.3378, allocations: 484.6 kB / 435.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.3384, allocations: 0.5271 MB / 436.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.3385, allocations: 108 kB / 436.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.3387, allocations: 110.4 kB / 436.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3389, allocations: 234 kB / 436.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.3394, allocations: 0.5399 MB / 437.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.3412, allocations: 1.269 MB / 438.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3412, allocations: 0 / 438.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3412, allocations: 1.531 kB / 438.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.3412, allocations: 0 / 438.4 MB, free: 5.789 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.002571/0.3438, allocations: 1.417 MB / 439.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3438, allocations: 9.25 kB / 439.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.344, allocations: 122.2 kB / 439.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.3442, allocations: 122 kB / 440 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3453, allocations: 0.6048 MB / 440.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.3454, allocations: 152.5 kB / 440.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3455, allocations: 64.53 kB / 440.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.347, allocations: 0.903 MB / 441.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.347, allocations: 4 kB / 441.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.3471, allocations: 33.72 kB / 441.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.3471, allocations: 15.09 kB / 441.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.3487, allocations: 0.6353 MB / 442.4 MB, free: 3.328 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.3524, allocations: 2.204 MB / 444.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.3541, allocations: 0.9526 MB / 445.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008231/0.3549, allocations: 378.4 kB / 446 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/0.3549, allocations: 15.06 kB / 446 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.355, allocations: 55.97 kB / 446 MB, free: 1.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.244e-06/0.355, allocations: 0 / 446 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005613/0.3606, allocations: 1.828 MB / 447.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003816/0.361, allocations: 0.8225 MB / 448.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3622, allocations: 0.6653 MB / 449.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.3623, allocations: 45.59 kB / 449.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.3627, allocations: 362.7 kB / 449.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.3631, allocations: 287.4 kB / 450 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.3634, allocations: 147.1 kB / 450.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3636, allocations: 336.7 kB / 450.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/0.3644, allocations: 280.5 kB / 450.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3654, allocations: 0.565 MB / 451.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.3669, allocations: 0.7027 MB / 452 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3669, allocations: 0 / 452 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003112/0.3701, allocations: 1.123 MB / 453.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.3701, allocations: 88.25 kB / 453.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3702, allocations: 5.938 kB / 453.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007658/0.3709, allocations: 237.7 kB / 453.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/0.3716, allocations: 142.1 kB / 453.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008678/0.3803, allocations: 6.928 MB / 460.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.3815, allocations: 106.1 kB / 460.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.3816, allocations: 35.55 kB / 460.7 MB, free: 6.336 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.0004565/0.3821, allocations: 219 kB / 460.9 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.3822, allocations: 96.22 kB / 461 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.3825, allocations: 95.95 kB / 461.1 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3825, allocations: 7.719 kB / 461.1 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.3825, allocations: 1.312 kB / 461.1 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002737/0.3852, allocations: 1.26 MB / 462.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/0.3894, allocations: 1.999 MB / 464.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3894, allocations: 5.125 kB / 464.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.3901, allocations: 149.9 kB / 464.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005636/0.3907, allocations: 192.6 kB / 464.7 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.3907, allocations: 19.25 kB / 464.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00694/0.3977, allocations: 5.351 MB / 470.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3977, allocations: 1.031 kB / 470.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003751/0.4014, allocations: 1.441 MB / 471.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/0.402, allocations: 246.2 kB / 471.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4021, allocations: 23.78 kB / 471.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.4028, allocations: 52.47 kB / 471.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.403, allocations: 59.14 kB / 471.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.403, allocations: 25.3 kB / 471.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006648/0.4037, allocations: 477.2 kB / 472.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4037, allocations: 0 / 472.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001016/0.4047, allocations: 294.6 kB / 472.7 MB, free: 13.21 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.004008/0.4087, allocations: 2.013 MB / 474.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.4114, allocations: 1.343 MB / 476 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.4114, allocations: 3 kB / 476 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.4129, allocations: 0.7567 MB / 476.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.4144, allocations: 245.3 kB / 477 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.4292, allocations: 7.816 MB / 484.8 MB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.4298, allocations: 0.9713 MB / 485.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006056/0.4304, allocations: 110.7 kB / 485.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.4309, allocations: 319.3 kB / 486.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4309, allocations: 0 / 486.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/0.5381, allocations: 26.77 MB / 0.501 GB, free: 7.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.16, allocations: 0 / 0.501 GB, free: 7.582 MB / 414.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.768350255995756]