Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 230.4 MB / 255.4 MB, free: 15.02 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.83 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09935, allocations: 53.31 MB / 428 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005047/0.1044, allocations: 3.773 MB / 431.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1802/0.2846, allocations: 1.028 MB / 432.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.2849, allocations: 9.344 kB / 432.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.2852, allocations: 118.6 kB / 433 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.2856, allocations: 204.4 kB / 433.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.2859, allocations: 140.7 kB / 433.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.2866, allocations: 0.6994 MB / 434 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.2868, allocations: 140.4 kB / 434.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.287, allocations: 269.8 kB / 434.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.2873, allocations: 310.2 kB / 434.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.2874, allocations: 59.31 kB / 434.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.2875, allocations: 64.88 kB / 434.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.2875, allocations: 125.7 kB / 435 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.2878, allocations: 322.6 kB / 435.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.2884, allocations: 0.7151 MB / 436 MB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2884, allocations: 0 / 436 MB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2884, allocations: 5.031 kB / 436 MB, free: 7.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.2884, allocations: 0.5625 kB / 436 MB, free: 7.582 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.001425/0.2898, allocations: 0.937 MB / 436.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2898, allocations: 8.625 kB / 436.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.29, allocations: 71.36 kB / 437 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/0.2906, allocations: 442.5 kB / 437.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.2907, allocations: 60.8 kB / 437.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.2908, allocations: 37.03 kB / 437.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/0.2916, allocations: 0.5054 MB / 438 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2916, allocations: 0 / 438 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.2916, allocations: 19.41 kB / 438.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2916, allocations: 7.812 kB / 438.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/0.2925, allocations: 354.3 kB / 438.4 MB, free: 6.371 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.001938/0.2944, allocations: 1.347 MB / 439.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/0.2952, allocations: 433 kB / 440.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.2956, allocations: 176.7 kB / 440.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.2957, allocations: 5.406 kB / 440.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2957, allocations: 52.64 kB / 440.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.2957, allocations: 0 / 440.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001545/0.2972, allocations: 0.7355 MB / 441.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.735e-05/0.2973, allocations: 444.5 kB / 441.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.2978, allocations: 481.3 kB / 442 MB, free: 3.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.2979, allocations: 41.98 kB / 442.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.298, allocations: 238.8 kB / 442.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.2981, allocations: 139.1 kB / 442.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.2983, allocations: 77.19 kB / 442.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.2983, allocations: 366.4 kB / 442.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.2987, allocations: 139.5 kB / 443 MB, free: 3.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.2991, allocations: 291.9 kB / 443.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.2998, allocations: 355.4 kB / 443.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2998, allocations: 0 / 443.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001042/0.3009, allocations: 494.1 kB / 444.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.3009, allocations: 36.19 kB / 444.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3009, allocations: 5.125 kB / 444.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.3011, allocations: 50.08 kB / 444.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.3015, allocations: 92.28 kB / 444.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.3035, allocations: 2.96 MB / 447.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.304, allocations: 57.73 kB / 447.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.304, allocations: 14.11 kB / 447.4 MB, free: 15.59 MB / 366.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.0002425/0.3043, allocations: 169.8 kB / 447.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3044, allocations: 59.72 kB / 447.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.3045, allocations: 62.08 kB / 447.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3045, allocations: 4.109 kB / 447.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3045, allocations: 7.875 kB / 447.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.3055, allocations: 0.7408 MB / 448.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.3074, allocations: 1.039 MB / 449.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3074, allocations: 3.938 kB / 449.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/0.3079, allocations: 93.48 kB / 449.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3079, allocations: 0.7812 kB / 449.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.3079, allocations: 11.03 kB / 449.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3079, allocations: 2.734 kB / 449.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3079, allocations: 1.344 kB / 449.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3093, allocations: 0.673 MB / 450.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.3095, allocations: 185.4 kB / 450.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.3096, allocations: 7 kB / 450.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.31, allocations: 30.66 kB / 450.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.3101, allocations: 24.44 kB / 450.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.3101, allocations: 8.016 kB / 450.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000421/0.3105, allocations: 349.3 kB / 450.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3105, allocations: 0 / 450.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.311, allocations: 139.3 kB / 450.9 MB, free: 13.39 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.0001334/0.3111, allocations: 106 kB / 451 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3124, allocations: 0.6343 MB / 451.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3124, allocations: 0.9688 kB / 451.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.3128, allocations: 174.3 kB / 451.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.3135, allocations: 147 kB / 452 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3153, allocations: 1.006 MB / 453 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.3158, allocations: 0.8296 MB / 453.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.316, allocations: 61.64 kB / 453.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.316, allocations: 0 / 453.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Templates: time 0.01464/0.3306, allocations: 9.24 MB / 463.1 MB, free: 7.895 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.723331236978993]