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.001935/0.001935, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002411/0.002411, allocations: 203.4 kB / 23.73 MB, free: 4.379 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.793 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_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_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 59.91 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2566, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.007405/0.264, allocations: 3.451 MB / 435 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.2669, allocations: 0.9774 MB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.2674, allocations: 7.938 kB / 436 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.2679, allocations: 111 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008569/0.2688, allocations: 210.3 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.2693, allocations: 131.8 kB / 436.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.2708, allocations: 0.7159 MB / 437.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/0.2712, allocations: 139.2 kB / 437.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.2718, allocations: 271 kB / 437.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007617/0.2725, allocations: 302.8 kB / 437.9 MB, free: 408 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.2727, allocations: 60 kB / 437.9 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.2729, allocations: 60 kB / 438 MB, free: 288 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.2731, allocations: 135.5 kB / 438.1 MB, free: 152 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.2736, allocations: 270.8 kB / 438.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.2748, allocations: 0.7222 MB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2748, allocations: 0 / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2748, allocations: 0 / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.723e-05/0.2748, allocations: 11.94 kB / 439.1 MB, free: 15.15 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.002506/0.2774, allocations: 0.8608 MB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2774, allocations: 8.031 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.2776, allocations: 72.52 kB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.2787, allocations: 385.3 kB / 440.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.2789, allocations: 110.7 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.279, allocations: 40.31 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.2807, allocations: 0.8826 MB / 441.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2807, allocations: 0 / 441.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.2808, allocations: 16 kB / 441.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.2808, allocations: 8 kB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.2822, allocations: 351.7 kB / 441.8 MB, free: 12.21 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.002504/0.2847, allocations: 0.989 MB / 442.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.2856, allocations: 358.5 kB / 443.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.286, allocations: 172.8 kB / 443.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.2861, allocations: 8 kB / 443.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.2861, allocations: 46.3 kB / 443.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/0.2861, allocations: 0 / 443.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.00164/0.2878, allocations: 0.5891 MB / 444 MB, free: 9.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002571/0.288, allocations: 444.9 kB / 444.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.2886, allocations: 437.9 kB / 444.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.2886, allocations: 33.7 kB / 444.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.2889, allocations: 252.5 kB / 445.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.289, allocations: 146.8 kB / 445.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.2891, allocations: 81.64 kB / 445.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2893, allocations: 358.7 kB / 445.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.2898, allocations: 165.6 kB / 445.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/0.2906, allocations: 0.6889 MB / 446.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/0.2914, allocations: 354.8 kB / 446.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2914, allocations: 0 / 446.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001116/0.2925, allocations: 0.5135 MB / 447.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.2925, allocations: 29.7 kB / 447.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.2926, allocations: 0 / 447.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.2927, allocations: 53.69 kB / 447.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.2932, allocations: 83.88 kB / 447.6 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.2959, allocations: 2.7 MB / 450.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.2964, allocations: 51.78 kB / 450.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.2964, allocations: 12 kB / 450.3 MB, free: 3.078 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.0002491/0.2967, allocations: 177.8 kB / 450.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2968, allocations: 55.67 kB / 450.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.2969, allocations: 56.61 kB / 450.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2969, allocations: 4 kB / 450.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2969, allocations: 0 / 450.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.298, allocations: 0.7322 MB / 451.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.2997, allocations: 0.8879 MB / 452.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2997, allocations: 4 kB / 452.2 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.3002, allocations: 83.88 kB / 452.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3002, allocations: 8 kB / 452.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.3002, allocations: 4 kB / 452.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3002, allocations: 4 kB / 452.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.3002, allocations: 3.938 kB / 452.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3016, allocations: 0.6722 MB / 453 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.3019, allocations: 95.58 kB / 453.1 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.3019, allocations: 12 kB / 453.1 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.3023, allocations: 32.2 kB / 453.1 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.3024, allocations: 27.89 kB / 453.2 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3024, allocations: 4 kB / 453.2 MB, free: 40 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003933/0.3028, allocations: 311.1 kB / 453.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3028, allocations: 0 / 453.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004789/0.3033, allocations: 147.8 kB / 453.6 MB, free: 15.6 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.0001405/0.3034, allocations: 119.2 kB / 453.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3047, allocations: 0.6588 MB / 454.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3047, allocations: 8 kB / 454.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.3051, allocations: 175.5 kB / 454.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.3058, allocations: 129.6 kB / 454.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3077, allocations: 0.9702 MB / 455.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3079, allocations: 234 kB / 455.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.3082, allocations: 60.25 kB / 456 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3083, allocations: 39.44 kB / 456 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3083, allocations: 4 kB / 456 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01939/0.3277, allocations: 10.21 MB / 466.2 MB, free: 3.148 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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: 4.726644661743194]