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.001506/0.001506, allocations: 107.8 kB / 17.06 MB, free: 6.02 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.001968/0.001969, allocations: 191 kB / 18 MB, free: 5.102 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000875/0.0008751, allocations: 39.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2605, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005063/0.2656, allocations: 3.762 MB / 404.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2673, allocations: 0.989 MB / 405.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.2675, allocations: 7.938 kB / 405.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.2678, allocations: 119 kB / 405.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.2682, allocations: 202.3 kB / 405.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.2685, allocations: 131.8 kB / 405.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.2692, allocations: 0.7064 MB / 406.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.2696, allocations: 198.8 kB / 406.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.2699, allocations: 271 kB / 407.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.2702, allocations: 310.6 kB / 407.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.735e-05/0.2703, allocations: 60 kB / 407.4 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2705, allocations: 60 kB / 407.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2706, allocations: 131.6 kB / 407.6 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.2709, allocations: 322.5 kB / 407.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.2716, allocations: 0.7197 MB / 408.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2716, allocations: 0 / 408.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2716, allocations: 0 / 408.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.2716, allocations: 0 / 408.7 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.001588/0.2732, allocations: 0.9362 MB / 409.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2733, allocations: 8.031 kB / 409.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.2734, allocations: 72.56 kB / 409.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007076/0.2741, allocations: 447 kB / 410.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.2742, allocations: 63.25 kB / 410.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.2743, allocations: 32.38 kB / 410.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000903/0.2752, allocations: 0.4983 MB / 410.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2752, allocations: 0 / 410.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.2753, allocations: 20 kB / 410.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2753, allocations: 15.88 kB / 410.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.2761, allocations: 347.8 kB / 411.1 MB, free: 14.32 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.002011/0.2782, allocations: 1.347 MB / 412.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.279, allocations: 459.9 kB / 412.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.2795, allocations: 193.4 kB / 413.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.2795, allocations: 7.984 kB / 413.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2795, allocations: 51.11 kB / 413.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.2796, allocations: 0 / 413.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001614/0.2812, allocations: 0.743 MB / 413.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/0.2814, allocations: 445 kB / 414.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.2819, allocations: 478 kB / 414.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.282, allocations: 37.7 kB / 414.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.2822, allocations: 248.7 kB / 415 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.2823, allocations: 146.8 kB / 415.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.2824, allocations: 77.69 kB / 415.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2825, allocations: 358.8 kB / 415.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2829, allocations: 135.9 kB / 415.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.2834, allocations: 298.3 kB / 416 MB, free: 8.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.2842, allocations: 343.1 kB / 416.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2842, allocations: 0 / 416.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001053/0.2853, allocations: 0.4999 MB / 416.9 MB, free: 8.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.2853, allocations: 33.7 kB / 416.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2853, allocations: 0 / 416.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.2855, allocations: 53.64 kB / 417 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.2859, allocations: 83.97 kB / 417 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.2883, allocations: 2.965 MB / 420 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.2888, allocations: 63.69 kB / 420.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.2888, allocations: 8 kB / 420.1 MB, free: 4.613 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.0002099/0.289, allocations: 173.8 kB / 420.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.2891, allocations: 55.67 kB / 420.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.2892, allocations: 60.86 kB / 420.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2892, allocations: 8 kB / 420.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2892, allocations: 3.938 kB / 420.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009178/0.2902, allocations: 0.7424 MB / 421.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.2918, allocations: 1.042 MB / 422.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2918, allocations: 7.938 kB / 422.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.2922, allocations: 95.86 kB / 422.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2922, allocations: 0 / 422.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.2923, allocations: 8 kB / 422.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2923, allocations: 4 kB / 422.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2923, allocations: 0 / 422.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2936, allocations: 0.6721 MB / 422.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.2938, allocations: 184.5 kB / 423.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.2938, allocations: 8 kB / 423.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.2942, allocations: 23.97 kB / 423.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.2943, allocations: 27.91 kB / 423.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.2943, allocations: 12 kB / 423.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003478/0.2947, allocations: 338.9 kB / 423.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2947, allocations: 0 / 423.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.2951, allocations: 147.9 kB / 423.7 MB, free: 0.8047 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.0001175/0.2952, allocations: 111.7 kB / 423.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.2963, allocations: 0.6486 MB / 424.4 MB, free: 0 / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2964, allocations: 0 / 424.4 MB, free: 0 / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.2968, allocations: 188.2 kB / 424.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.2974, allocations: 145.9 kB / 424.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.2989, allocations: 0.9643 MB / 425.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.2993, allocations: 0.8314 MB / 426.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.2996, allocations: 72.52 kB / 426.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.2997, allocations: 47.44 kB / 426.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2997, allocations: 0 / 426.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Templates: time 0.01404/0.3138, allocations: 9.073 MB / 435.7 MB, free: 4.777 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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