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.001726/0.001726, 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.002134/0.002134, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.001459/0.001459, allocations: 44.06 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2326, allocations: 53.37 MB / 431.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006008/0.2386, allocations: 4.667 MB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.2409, allocations: 1.308 MB / 437.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.2412, allocations: 11.94 kB / 437.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.2415, allocations: 170.5 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006112/0.2422, allocations: 349.1 kB / 437.6 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.2426, allocations: 247.6 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.2439, allocations: 1.215 MB / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.2443, allocations: 246.7 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.2448, allocations: 482.3 kB / 439.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006454/0.2454, allocations: 0.5368 MB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.2456, allocations: 112 kB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.2457, allocations: 108 kB / 440.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.2459, allocations: 235.2 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.2464, allocations: 474 kB / 441.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.2477, allocations: 1.265 MB / 442.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2477, allocations: 0 / 442.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2477, allocations: 0 / 442.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.2477, allocations: 0 / 442.5 MB, free: 11.16 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.00264/0.2504, allocations: 1.339 MB / 443.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2504, allocations: 8.031 kB / 443.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.2506, allocations: 127.9 kB / 443.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.2508, allocations: 120.2 kB / 444 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2518, allocations: 0.5506 MB / 444.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.2521, allocations: 305.2 kB / 444.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.2522, allocations: 64.38 kB / 445 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.2541, allocations: 1.655 MB / 446.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2541, allocations: 4 kB / 446.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.2542, allocations: 32 kB / 446.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2542, allocations: 15.98 kB / 446.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.2557, allocations: 0.6297 MB / 447.3 MB, free: 5.891 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.003273/0.2589, allocations: 1.744 MB / 449 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.2605, allocations: 0.728 MB / 449.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/0.2613, allocations: 381.8 kB / 450.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.2613, allocations: 12.66 kB / 450.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.2614, allocations: 51.2 kB / 450.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.595e-06/0.2614, allocations: 0 / 450.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005007/0.2664, allocations: 1.519 MB / 451.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004328/0.2668, allocations: 0.8234 MB / 452.5 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.2676, allocations: 0.6725 MB / 453.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.297e-05/0.2677, allocations: 49.64 kB / 453.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.268, allocations: 357.3 kB / 453.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.2682, allocations: 281.5 kB / 453.9 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.2685, allocations: 146.7 kB / 454 MB, free: 14.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2686, allocations: 334 kB / 454.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.2694, allocations: 359 kB / 454.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.2708, allocations: 1.402 MB / 456.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.2722, allocations: 0.707 MB / 456.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2722, allocations: 0 / 456.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002777/0.2749, allocations: 1.209 MB / 458 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.549e-05/0.275, allocations: 85.11 kB / 458.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.275, allocations: 0 / 458.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006789/0.2757, allocations: 243.2 kB / 458.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/0.2764, allocations: 143.8 kB / 458.5 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/0.2844, allocations: 6.475 MB / 465 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.2852, allocations: 107.5 kB / 465.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.2853, allocations: 27.88 kB / 465.1 MB, free: 2.887 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.0003603/0.2857, allocations: 225.7 kB / 465.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.2858, allocations: 99.44 kB / 465.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.286, allocations: 92.53 kB / 465.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.286, allocations: 8 kB / 465.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.286, allocations: 0 / 465.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002589/0.2886, allocations: 1.268 MB / 466.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.2925, allocations: 1.794 MB / 468.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2925, allocations: 0 / 468.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.2933, allocations: 147.8 kB / 468.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/0.2938, allocations: 198.5 kB / 468.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.2939, allocations: 20 kB / 468.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0067/0.3006, allocations: 5 MB / 473.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3006, allocations: 4.031 kB / 473.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.3041, allocations: 1.435 MB / 475.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.3046, allocations: 179.2 kB / 475.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.3047, allocations: 20.12 kB / 475.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.3054, allocations: 55.95 kB / 475.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.3055, allocations: 64.72 kB / 475.7 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.3056, allocations: 23.98 kB / 475.7 MB, free: 7.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006439/0.3062, allocations: 475 kB / 476.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3062, allocations: 0 / 476.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000895/0.3071, allocations: 291.8 kB / 476.4 MB, free: 6.961 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.003822/0.311, allocations: 2.021 MB / 478.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.3135, allocations: 1.423 MB / 479.9 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.3135, allocations: 7.938 kB / 479.9 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.3149, allocations: 0.7496 MB / 480.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.3161, allocations: 238.8 kB / 480.9 MB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.3302, allocations: 8.135 MB / 489 MB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.3307, allocations: 367.6 kB / 489.4 MB, free: 9.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005295/0.3312, allocations: 110.6 kB / 489.5 MB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.3317, allocations: 319.3 kB / 489.8 MB, free: 9.145 MB / 398.1 MB Notification: Performance of SimCode: time 1.763e-06/0.3317, allocations: 0 / 489.8 MB, free: 9.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07629/0.408, allocations: 29.15 MB / 0.5068 GB, free: 12.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.25, allocations: 10.75 kB / 0.5068 GB, free: 12.47 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.725868155976059]