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.001482/0.001482, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001665/0.001665, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.356/1.356, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001399/0.001399, allocations: 51.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2268, allocations: 53.36 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006301/0.2331, allocations: 5.257 MB / 437.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.2354, allocations: 1.366 MB / 438.5 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.2357, allocations: 15.88 kB / 438.6 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.2361, allocations: 174.5 kB / 438.7 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.2367, allocations: 349.1 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.2371, allocations: 243.6 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2384, allocations: 1.23 MB / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.2388, allocations: 242.7 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/0.2394, allocations: 486.4 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.24, allocations: 0.5252 MB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.2402, allocations: 112 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.2404, allocations: 108 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.2405, allocations: 235.2 kB / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.2411, allocations: 0.5444 MB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2424, allocations: 1.254 MB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2424, allocations: 3.984 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2424, allocations: 0 / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.2424, allocations: 0 / 444 MB, free: 10.68 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.002521/0.2449, allocations: 1.335 MB / 445.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2449, allocations: 12.03 kB / 445.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.559e-05/0.245, allocations: 25.48 kB / 445.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.2452, allocations: 127.9 kB / 445.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.2454, allocations: 124.2 kB / 445.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.2464, allocations: 0.5429 MB / 446.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.2467, allocations: 313.1 kB / 446.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2468, allocations: 76.08 kB / 446.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.2484, allocations: 0.9219 MB / 447.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.2484, allocations: 4 kB / 447.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/0.2485, allocations: 28 kB / 447.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.2485, allocations: 20 kB / 447.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.25, allocations: 0.6531 MB / 448.2 MB, free: 6.27 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.003927/0.2539, allocations: 2.273 MB / 450.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.2555, allocations: 0.7649 MB / 451.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.2564, allocations: 418.2 kB / 451.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.2565, allocations: 20.97 kB / 451.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.2565, allocations: 59.44 kB / 451.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.995e-06/0.2565, allocations: 0 / 451.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01861/0.2751, allocations: 6.304 MB / 458 MB, free: 12.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007935/0.2831, allocations: 4.791 MB / 462.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/0.284, allocations: 0.6763 MB / 463.5 MB, free: 6.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.2842, allocations: 53.7 kB / 463.5 MB, free: 6.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.2845, allocations: 346.1 kB / 463.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/0.2849, allocations: 0.4918 MB / 464.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004388/0.2854, allocations: 242.9 kB / 464.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2856, allocations: 354.1 kB / 465 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.2871, allocations: 0.6818 MB / 465.6 MB, free: 4.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.2889, allocations: 0.9991 MB / 466.6 MB, free: 3.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.2918, allocations: 1.486 MB / 468.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2918, allocations: 0 / 468.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006184/0.298, allocations: 2.405 MB / 470.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.2981, allocations: 89.09 kB / 470.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.2981, allocations: 0 / 470.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/0.3007, allocations: 0.7443 MB / 471.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.3018, allocations: 243.6 kB / 471.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.3185, allocations: 13.44 MB / 485 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.3206, allocations: 203.8 kB / 485.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.3207, allocations: 51.95 kB / 485.3 MB, free: 15.5 MB / 398.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.0004917/0.3212, allocations: 257.6 kB / 485.5 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.3214, allocations: 119.5 kB / 485.7 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.3217, allocations: 126.7 kB / 485.8 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005958/0.3276, allocations: 2.213 MB / 488 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3276, allocations: 8 kB / 488 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005852/0.3335, allocations: 2.574 MB / 490.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.3436, allocations: 4.585 MB / 495.2 MB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3436, allocations: 0 / 495.2 MB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/0.3446, allocations: 223.6 kB / 495.4 MB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003745/0.3483, allocations: 1.13 MB / 496.5 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.3485, allocations: 35.95 kB / 496.5 MB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.3678, allocations: 12.74 MB / 0.4973 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006961/0.3747, allocations: 3.717 MB / 0.501 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008307/0.383, allocations: 3.442 MB / 0.5043 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/0.3837, allocations: 267.2 kB / 0.5046 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.384, allocations: 28 kB / 0.5046 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.3853, allocations: 135.9 kB / 0.5047 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/0.3857, allocations: 149 kB / 0.5049 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.3858, allocations: 43.97 kB / 0.5049 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006157/0.3865, allocations: 479 kB / 0.5054 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3865, allocations: 0 / 0.5054 GB, free: 14.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001725/0.3882, allocations: 0.5898 MB / 0.506 GB, free: 13.58 MB / 430.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.008592/0.3968, allocations: 4.039 MB / 0.5099 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004979/0.4018, allocations: 2.775 MB / 0.5126 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4018, allocations: 0 / 0.5126 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004087/0.4059, allocations: 1.854 MB / 0.5144 GB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.4072, allocations: 255 kB / 0.5147 GB, free: 4.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/0.4311, allocations: 12.29 MB / 0.5267 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/0.432, allocations: 1.073 MB / 0.5277 GB, free: 6.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006799/0.4326, allocations: 152.9 kB / 0.5279 GB, free: 6.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/0.4334, allocations: 427.2 kB / 0.5283 GB, free: 6.176 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4334, allocations: 0 / 0.5283 GB, free: 6.176 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2562/0.6896, allocations: 42.68 MB / 0.57 GB, free: 111 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.47, allocations: 10.12 kB / 0.57 GB, free: 111 MB / 462.1 MB " [Timeout remaining time 644] (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: 18.04388483898947]