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.001262/0.001262, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001315/0.001315, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.354/1.354, allocations: 230.6 MB / 254.8 MB, free: 15.07 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 47.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.08815, allocations: 53.32 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.1654/0.2535, allocations: 5.227 MB / 432.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.2555, allocations: 1.369 MB / 433.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.2557, allocations: 16.62 kB / 433.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.256, allocations: 169.3 kB / 433.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.2565, allocations: 341.6 kB / 434.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2568, allocations: 245.7 kB / 434.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008345/0.2576, allocations: 1.218 MB / 435.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.2579, allocations: 249.1 kB / 435.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.2583, allocations: 480.7 kB / 436.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.2588, allocations: 0.5272 MB / 436.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.259, allocations: 108.9 kB / 436.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.2591, allocations: 114 kB / 437 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.2593, allocations: 235.8 kB / 437.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.2597, allocations: 0.5414 MB / 437.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.2609, allocations: 1.259 MB / 439.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2609, allocations: 8 kB / 439.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2609, allocations: 0 / 439.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.2609, allocations: 1.219 kB / 439.1 MB, free: 5.77 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.002167/0.263, allocations: 1.411 MB / 440.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2631, allocations: 10.16 kB / 440.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.825e-05/0.2631, allocations: 26.14 kB / 440.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.2633, allocations: 130.6 kB / 440.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.2634, allocations: 123.2 kB / 440.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.2643, allocations: 0.6111 MB / 441.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.2645, allocations: 146.1 kB / 441.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.815e-05/0.2646, allocations: 78.47 kB / 441.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2659, allocations: 0.9253 MB / 442.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2659, allocations: 2.203 kB / 442.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.266, allocations: 28.84 kB / 442.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.266, allocations: 16.09 kB / 442.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.2675, allocations: 0.6549 MB / 443.2 MB, free: 3.289 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.00323/0.2707, allocations: 2.313 MB / 445.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.2722, allocations: 0.9897 MB / 446.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.273, allocations: 415.2 kB / 446.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/0.273, allocations: 14.81 kB / 447 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.2731, allocations: 55.55 kB / 447 MB, free: 1.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.154e-06/0.2731, allocations: 0 / 447 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01828/0.2913, allocations: 6.61 MB / 453.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007742/0.2991, allocations: 4.899 MB / 458.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/0.2999, allocations: 0.6685 MB / 459.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.3001, allocations: 54.83 kB / 459.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.3003, allocations: 355 kB / 459.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/0.3008, allocations: 0.4916 MB / 460.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.3012, allocations: 245.3 kB / 460.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3014, allocations: 356.9 kB / 460.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.3028, allocations: 0.6813 MB / 461.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.3045, allocations: 0.9921 MB / 462.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.3073, allocations: 1.494 MB / 463.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3073, allocations: 0 / 463.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005985/0.3133, allocations: 2.399 MB / 466.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.196e-05/0.3134, allocations: 91.86 kB / 466.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3134, allocations: 1.406 kB / 466.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/0.3159, allocations: 0.7441 MB / 467.1 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009957/0.3169, allocations: 240.9 kB / 467.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.3334, allocations: 14.25 MB / 481.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.3357, allocations: 199.8 kB / 481.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.3358, allocations: 55.94 kB / 481.8 MB, free: 7.34 MB / 382.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 (119): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,3,88.9%), (1,3,100.0%), (1,7,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (3,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005297/0.3363, allocations: 269 kB / 482.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.3366, allocations: 115.3 kB / 482.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.3368, allocations: 126.7 kB / 482.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00596/0.3428, allocations: 2.209 MB / 484.5 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3428, allocations: 4 kB / 484.5 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006409/0.3492, allocations: 2.574 MB / 487.1 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.3597, allocations: 4.642 MB / 491.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.3597, allocations: 3.984 kB / 491.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.3608, allocations: 223.7 kB / 491.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0038/0.3646, allocations: 1.135 MB / 493.1 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.3647, allocations: 47.89 kB / 493.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.3848, allocations: 13.36 MB / 0.4946 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00702/0.3918, allocations: 3.817 MB / 0.4983 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008397/0.4002, allocations: 3.439 MB / 0.5017 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007704/0.401, allocations: 344.3 kB / 0.502 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.4012, allocations: 35.92 kB / 0.5021 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.4026, allocations: 127.8 kB / 0.5022 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/0.403, allocations: 145 kB / 0.5023 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.409e-05/0.4031, allocations: 43.95 kB / 0.5024 GB, free: 5.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006029/0.4037, allocations: 479 kB / 0.5028 GB, free: 4.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4037, allocations: 0 / 0.5028 GB, free: 4.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001728/0.4054, allocations: 0.5919 MB / 0.5034 GB, free: 4.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,3,100.0%), (3,3,88.9%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008639/0.4141, allocations: 4.036 MB / 0.5073 GB, free: 320 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005018/0.4191, allocations: 2.778 MB / 0.5101 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.4191, allocations: 4 kB / 0.5101 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00414/0.4232, allocations: 1.845 MB / 0.5119 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.4247, allocations: 266 kB / 0.5121 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/0.4488, allocations: 12.28 MB / 0.5241 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/0.4495, allocations: 1.076 MB / 0.5252 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006932/0.4502, allocations: 156.8 kB / 0.5253 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007066/0.4509, allocations: 427.2 kB / 0.5257 GB, free: 13.02 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4509, allocations: 0 / 0.5257 GB, free: 13.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09787/0.5488, allocations: 41.44 MB / 0.5662 GB, free: 4.023 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.38, allocations: 4.062 kB / 0.5662 GB, free: 4.02 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.943021555023734]