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.0008179/0.0008179, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000812/0.000812, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8741/0.8741, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.025e-05, allocations: 5.516 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.003985/0.004006, allocations: 4.639 MB / 323.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.005946, allocations: 1.293 MB / 324.4 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.006262, allocations: 15.88 kB / 324.4 MB, free: 380 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.006603, allocations: 166.5 kB / 324.5 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.007111, allocations: 368.8 kB / 324.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.007488, allocations: 239.5 kB / 325.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008855/0.008374, allocations: 1.281 MB / 326.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.008652, allocations: 226.7 kB / 326.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.00919, allocations: 0.7017 MB / 327.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.009536, allocations: 402.9 kB / 327.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.009636, allocations: 108 kB / 327.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.009736, allocations: 112 kB / 327.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.009857, allocations: 239.2 kB / 328.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.01012, allocations: 399.1 kB / 328.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007968/0.01091, allocations: 1.305 MB / 329.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01092, allocations: 0 / 329.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.01092, allocations: 3.984 kB / 329.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.01093, allocations: 0 / 329.9 MB, free: 10.84 MB / 298.7 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.001474/0.01241, allocations: 1.327 MB / 331.2 MB, free: 9.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.01244, allocations: 12.91 kB / 331.2 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.01258, allocations: 123.9 kB / 331.3 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.01271, allocations: 124.2 kB / 331.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.01338, allocations: 0.5499 MB / 332 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.01354, allocations: 305.2 kB / 332.3 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.01361, allocations: 64.38 kB / 332.4 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.01475, allocations: 1.663 MB / 334 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.01477, allocations: 4.188 kB / 334 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.01482, allocations: 31.94 kB / 334.1 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01483, allocations: 15.94 kB / 334.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.01571, allocations: 0.6336 MB / 334.7 MB, free: 5.57 MB / 298.7 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.002234/0.01794, allocations: 1.733 MB / 336.4 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.01894, allocations: 0.7317 MB / 337.2 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.01943, allocations: 391.2 kB / 337.6 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.01947, allocations: 10.52 kB / 337.6 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.0195, allocations: 47.22 kB / 337.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 2.255e-06/0.0195, allocations: 0 / 337.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.002737/0.02224, allocations: 1.523 MB / 339.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.02248, allocations: 0.8273 MB / 340 MB, free: 32 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.02304, allocations: 0.6646 MB / 340.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.02309, allocations: 45.7 kB / 340.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.02327, allocations: 361.3 kB / 341 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.02342, allocations: 281.5 kB / 341.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.02357, allocations: 146.6 kB / 341.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.02366, allocations: 337.9 kB / 341.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.02408, allocations: 363 kB / 342.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/0.0249, allocations: 1.402 MB / 343.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.02575, allocations: 0.6974 MB / 344.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.02575, allocations: 3.938 kB / 344.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001505/0.02726, allocations: 1.205 MB / 345.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.02731, allocations: 89.11 kB / 345.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.02732, allocations: 3.938 kB / 345.5 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/0.02775, allocations: 235.2 kB / 345.8 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.02808, allocations: 147.8 kB / 345.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.03274, allocations: 6.471 MB / 352.4 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.03326, allocations: 103.5 kB / 352.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.0333, allocations: 20 kB / 352.5 MB, free: 2.566 MB / 314.7 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.0002893/0.03359, allocations: 229.7 kB / 352.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.03369, allocations: 95.44 kB / 352.8 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.03379, allocations: 96.52 kB / 352.9 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.0338, allocations: 8 kB / 352.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.0338, allocations: 0 / 352.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/0.0352, allocations: 1.26 MB / 354.2 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.03743, allocations: 1.794 MB / 356 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.03743, allocations: 0 / 356 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.03778, allocations: 147.8 kB / 356.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.03809, allocations: 202.4 kB / 356.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.03812, allocations: 20 kB / 356.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/0.04164, allocations: 4.992 MB / 361.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.04164, allocations: 4.172 kB / 361.3 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.04349, allocations: 1.431 MB / 362.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.04376, allocations: 175.2 kB / 362.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.04383, allocations: 27.94 kB / 363 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.04415, allocations: 47.94 kB / 363 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.04429, allocations: 72.47 kB / 363.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.04431, allocations: 20 kB / 363.1 MB, free: 7.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004138/0.04473, allocations: 479 kB / 363.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.04473, allocations: 0 / 363.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00065/0.04538, allocations: 303.6 kB / 363.9 MB, free: 6.637 MB / 330.7 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.00211/0.04749, allocations: 2.021 MB / 365.9 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.049, allocations: 1.419 MB / 367.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.049, allocations: 4 kB / 367.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008797/0.04988, allocations: 0.7496 MB / 368.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006617/0.05055, allocations: 242.8 kB / 368.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/0.05942, allocations: 8.092 MB / 376.4 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.05968, allocations: 367.6 kB / 376.7 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.06002, allocations: 102.7 kB / 376.8 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.06032, allocations: 320.4 kB / 377.2 MB, free: 8.875 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.06032, allocations: 0 / 377.2 MB, free: 8.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/0.1039, allocations: 28.96 MB / 406.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/8.301, allocations: 23.12 kB / 406.1 MB, free: 12.33 MB / 378.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.009127268567681]