Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001295/0.001295, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001467/0.001467, allocations: 210.2 kB / 23.73 MB, free: 4.523 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 43.92 kB / 377.7 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2536, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005088/0.2587, allocations: 3.444 MB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2608, allocations: 0.9774 MB / 435.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.2611, allocations: 7.938 kB / 435.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.2614, allocations: 115.1 kB / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.2618, allocations: 198.3 kB / 435.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.2621, allocations: 143.8 kB / 436 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000818/0.2629, allocations: 0.7119 MB / 436.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.2632, allocations: 143.2 kB / 436.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.2635, allocations: 271 kB / 437.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.2638, allocations: 306.7 kB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.2639, allocations: 60 kB / 437.4 MB, free: 272 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.264, allocations: 60 kB / 437.5 MB, free: 212 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.2642, allocations: 131.5 kB / 437.6 MB, free: 80 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.2645, allocations: 274.8 kB / 437.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.2652, allocations: 0.7254 MB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2652, allocations: 4 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2652, allocations: 0 / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.2652, allocations: 0 / 438.6 MB, free: 15.08 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001627/0.2669, allocations: 0.853 MB / 439.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2669, allocations: 15.97 kB / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.267, allocations: 83.66 kB / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.2672, allocations: 68.56 kB / 439.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.268, allocations: 381.3 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.2681, allocations: 110.7 kB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.2682, allocations: 44.31 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.2693, allocations: 0.8902 MB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2694, allocations: 0 / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.2694, allocations: 16 kB / 441.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.2694, allocations: 8 kB / 441.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.2702, allocations: 359.8 kB / 441.4 MB, free: 12.04 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.002039/0.2723, allocations: 1.066 MB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008932/0.2732, allocations: 363.9 kB / 442.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.2736, allocations: 176 kB / 443 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.2736, allocations: 12 kB / 443 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.2737, allocations: 42.31 kB / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.2737, allocations: 0 / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001544/0.2752, allocations: 0.589 MB / 443.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002507/0.2755, allocations: 456.9 kB / 444.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.276, allocations: 478 kB / 444.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.2761, allocations: 37.7 kB / 444.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2763, allocations: 252.6 kB / 444.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2764, allocations: 126.9 kB / 445 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.2765, allocations: 81.64 kB / 445.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.2767, allocations: 358.8 kB / 445.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.2771, allocations: 165.6 kB / 445.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/0.2778, allocations: 0.7006 MB / 446.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/0.2787, allocations: 342.8 kB / 446.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2787, allocations: 0 / 446.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001014/0.2797, allocations: 0.5135 MB / 447.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.2797, allocations: 37.7 kB / 447.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2797, allocations: 0 / 447.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.2799, allocations: 53.62 kB / 447.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.2803, allocations: 87.88 kB / 447.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.2828, allocations: 2.746 MB / 450 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.2833, allocations: 59.67 kB / 450.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.2833, allocations: 20.16 kB / 450.1 MB, free: 2.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.2835, allocations: 169.8 kB / 450.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.2836, allocations: 55.67 kB / 450.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.2837, allocations: 60.86 kB / 450.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2837, allocations: 4 kB / 450.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2838, allocations: 3.938 kB / 450.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.2848, allocations: 0.7322 MB / 451.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.2865, allocations: 0.9343 MB / 452.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2865, allocations: 0 / 452.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.287, allocations: 95.88 kB / 452.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.287, allocations: 4 kB / 452.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.287, allocations: 7.984 kB / 452.2 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.287, allocations: 0 / 452.2 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.287, allocations: 4 kB / 452.2 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.2883, allocations: 0.6761 MB / 452.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.2885, allocations: 99.52 kB / 452.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.2886, allocations: 8 kB / 453 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.289, allocations: 31.97 kB / 453 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.2891, allocations: 23.95 kB / 453 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.2891, allocations: 11.98 kB / 453 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004033/0.2895, allocations: 338.9 kB / 453.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2895, allocations: 4.062 kB / 453.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00048/0.29, allocations: 143.8 kB / 453.5 MB, free: 15.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/0.2916, allocations: 1.232 MB / 454.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.2929, allocations: 0.6622 MB / 455.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2929, allocations: 0 / 455.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.2933, allocations: 175.9 kB / 455.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.294, allocations: 141.9 kB / 455.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006932/0.3009, allocations: 4.776 MB / 460.5 MB, free: 7.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.3011, allocations: 245.9 kB / 460.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.3014, allocations: 60.55 kB / 460.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.3017, allocations: 183.4 kB / 461 MB, free: 7.402 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3017, allocations: 0 / 461 MB, free: 7.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04983/0.3515, allocations: 15.87 MB / 476.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.57, allocations: 3.266 kB / 476.8 MB, free: 7.906 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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: 14.95178019098239]