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.001333/0.001333, allocations: 113.2 kB / 20.44 MB, free: 1.324 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.001484/0.001484, allocations: 214 kB / 23.74 MB, free: 4.539 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.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.965 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.001658/0.001658, allocations: 51.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2466, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005164/0.2517, allocations: 3.802 MB / 434.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2535, allocations: 1.036 MB / 436 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.2537, allocations: 11.94 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.2541, allocations: 107 kB / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.2545, allocations: 214.3 kB / 436.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.2547, allocations: 131.8 kB / 436.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.2556, allocations: 0.7119 MB / 437.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.2558, allocations: 143 kB / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.2561, allocations: 271 kB / 437.5 MB, free: 428 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.2565, allocations: 310.7 kB / 437.8 MB, free: 116 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/0.2566, allocations: 60 kB / 437.9 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.2567, allocations: 60.05 kB / 438 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.2568, allocations: 131.5 kB / 438.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.2571, allocations: 330.4 kB / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.2579, allocations: 0.7241 MB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2579, allocations: 4 kB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2579, allocations: 0 / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2579, allocations: 0 / 439.1 MB, free: 14.82 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.001623/0.2596, allocations: 0.853 MB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2596, allocations: 12.03 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.2597, allocations: 75.72 kB / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2599, allocations: 76.52 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.2606, allocations: 381.3 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.2607, allocations: 114.7 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.2608, allocations: 36.38 kB / 440.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00088/0.2617, allocations: 0.5098 MB / 441.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2617, allocations: 4 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.2617, allocations: 16 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.2617, allocations: 8 kB / 441.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008302/0.2626, allocations: 359.8 kB / 441.6 MB, free: 12.25 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.002155/0.2647, allocations: 1.317 MB / 442.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000845/0.2656, allocations: 356 kB / 443.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.266, allocations: 176.8 kB / 443.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.266, allocations: 8 kB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.266, allocations: 46.31 kB / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.282e-06/0.266, allocations: 0 / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001528/0.2676, allocations: 0.5967 MB / 444 MB, free: 9.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002534/0.2678, allocations: 452.9 kB / 444.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.2684, allocations: 474 kB / 444.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.2684, allocations: 37.7 kB / 445 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.2686, allocations: 244.7 kB / 445.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2687, allocations: 142.8 kB / 445.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.2689, allocations: 81.64 kB / 445.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.269, allocations: 358.8 kB / 445.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.2694, allocations: 143.9 kB / 445.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.2699, allocations: 286.4 kB / 446.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.2707, allocations: 354.6 kB / 446.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2707, allocations: 0 / 446.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000995/0.2717, allocations: 0.4923 MB / 447.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.2717, allocations: 29.7 kB / 447.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2717, allocations: 0 / 447.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.2719, allocations: 53.62 kB / 447.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.2723, allocations: 95.91 kB / 447.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.2749, allocations: 2.75 MB / 450 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.2753, allocations: 59.69 kB / 450 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.2753, allocations: 11.94 kB / 450 MB, free: 3.164 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.0002125/0.2755, allocations: 177.8 kB / 450.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2756, allocations: 55.67 kB / 450.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.2758, allocations: 64.88 kB / 450.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2758, allocations: 4 kB / 450.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2758, allocations: 3.984 kB / 450.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.2768, allocations: 0.7283 MB / 451.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.2785, allocations: 1.02 MB / 452.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2785, allocations: 0 / 452.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.2789, allocations: 91.88 kB / 452.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2789, allocations: 0 / 452.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.279, allocations: 8 kB / 452.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.279, allocations: 4 kB / 452.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.279, allocations: 0 / 452.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.2803, allocations: 0.6878 MB / 452.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.2805, allocations: 107.4 kB / 453 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.2806, allocations: 8 kB / 453 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.2809, allocations: 32.05 kB / 453 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.281, allocations: 23.95 kB / 453.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.281, allocations: 4.234 kB / 453.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003988/0.2814, allocations: 342.9 kB / 453.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2814, allocations: 4.062 kB / 453.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.2819, allocations: 139.9 kB / 453.5 MB, free: 15.48 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.001669/0.2835, allocations: 1.24 MB / 454.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.2847, allocations: 0.6371 MB / 455.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.2847, allocations: 4 kB / 455.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.2851, allocations: 167.8 kB / 455.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.2858, allocations: 133.9 kB / 455.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/0.2927, allocations: 4.672 MB / 460.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.2932, allocations: 0.8506 MB / 461.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.2935, allocations: 64.55 kB / 461.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.2937, allocations: 179.4 kB / 461.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2937, allocations: 0 / 461.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06779/0.3615, allocations: 14.33 MB / 475.8 MB, free: 9.312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.42, allocations: 8.047 kB / 475.8 MB, free: 9.305 MB / 382.1 MB " [Timeout remaining time 646] (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: 15.81727056298405]