Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 113.7 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.001521, allocations: 189.6 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2633, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00477/0.2681, allocations: 3.758 MB / 405.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2698, allocations: 0.989 MB / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.27, allocations: 7.938 kB / 406.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.2703, allocations: 119 kB / 406.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.2707, allocations: 194.3 kB / 406.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.271, allocations: 139.8 kB / 406.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007718/0.2718, allocations: 0.7035 MB / 407.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.2721, allocations: 208.2 kB / 407.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.2724, allocations: 267 kB / 407.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.2727, allocations: 306.7 kB / 408.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.025e-05/0.2728, allocations: 60 kB / 408.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2729, allocations: 60 kB / 408.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.273, allocations: 131.5 kB / 408.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.2733, allocations: 318.5 kB / 408.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.2739, allocations: 0.7199 MB / 409.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2739, allocations: 3.984 kB / 409.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2739, allocations: 0 / 409.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.2739, allocations: 8 kB / 409.4 MB, free: 0.8945 MB / 318.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.00156/0.2755, allocations: 0.9092 MB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2756, allocations: 12.02 kB / 410.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.2757, allocations: 68.19 kB / 410.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007271/0.2764, allocations: 442.7 kB / 410.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.2765, allocations: 55.27 kB / 410.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.2766, allocations: 36.38 kB / 410.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.2774, allocations: 0.506 MB / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.2775, allocations: 7.938 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.2775, allocations: 12 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2775, allocations: 8 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.2783, allocations: 359.7 kB / 411.7 MB, free: 14.34 MB / 334.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.001978/0.2803, allocations: 1.339 MB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.2812, allocations: 460.1 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.2816, allocations: 193.4 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.2817, allocations: 4 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2817, allocations: 38.56 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.2817, allocations: 0 / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.00156/0.2833, allocations: 0.7469 MB / 414.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/0.2835, allocations: 448.9 kB / 415 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/0.284, allocations: 486 kB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.284, allocations: 33.7 kB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.2842, allocations: 244.5 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2843, allocations: 130.1 kB / 415.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2845, allocations: 81.59 kB / 415.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2846, allocations: 358.8 kB / 416.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.285, allocations: 143.9 kB / 416.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.2855, allocations: 298.3 kB / 416.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.2863, allocations: 343.1 kB / 417 MB, free: 8.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2863, allocations: 0 / 417 MB, free: 8.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009554/0.2873, allocations: 499.7 kB / 417.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.2873, allocations: 29.7 kB / 417.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2873, allocations: 0 / 417.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.2875, allocations: 57.72 kB / 417.6 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.2879, allocations: 87.88 kB / 417.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.2902, allocations: 2.961 MB / 420.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.2907, allocations: 55.69 kB / 420.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.2907, allocations: 12 kB / 420.7 MB, free: 4.672 MB / 334.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.0002177/0.2909, allocations: 179.2 kB / 420.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.291, allocations: 59.34 kB / 420.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.2912, allocations: 56.92 kB / 421 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2912, allocations: 4 kB / 421 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2912, allocations: 7.875 kB / 421 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000941/0.2921, allocations: 0.7346 MB / 421.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.2938, allocations: 1.046 MB / 422.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2938, allocations: 3.938 kB / 422.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.2942, allocations: 91.88 kB / 422.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2942, allocations: 8 kB / 422.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.2943, allocations: 7.984 kB / 422.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2943, allocations: 0 / 422.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2943, allocations: 4 kB / 422.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.2955, allocations: 0.6717 MB / 423.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.2957, allocations: 176.3 kB / 423.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.2958, allocations: 8 kB / 423.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.2962, allocations: 35.91 kB / 423.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.2963, allocations: 23.95 kB / 423.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.2963, allocations: 8 kB / 423.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003856/0.2967, allocations: 342.9 kB / 424.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2967, allocations: 4 kB / 424.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.2971, allocations: 135.8 kB / 424.3 MB, free: 0.8711 MB / 334.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.0001349/0.2973, allocations: 111.7 kB / 424.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.2984, allocations: 0.6448 MB / 425 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2984, allocations: 0 / 425 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.2989, allocations: 188.2 kB / 425.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.2995, allocations: 158 kB / 425.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3012, allocations: 0.9788 MB / 426.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3015, allocations: 0.8392 MB / 427.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3017, allocations: 43.44 kB / 427.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3017, allocations: 0 / 427.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01139/0.3131, allocations: 9.191 MB / 436.4 MB, free: 4.68 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches