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.001578/0.001578, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001472/0.001472, allocations: 210 kB / 24.48 MB, free: 3.938 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.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001715/0.001715, allocations: 51.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2437, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00522/0.2489, allocations: 3.451 MB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2509, allocations: 0.9735 MB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.2511, allocations: 7.938 kB / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.2514, allocations: 111 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.2518, allocations: 210.3 kB / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.2521, allocations: 131.8 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008632/0.253, allocations: 0.7081 MB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.2533, allocations: 139.2 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.2536, allocations: 275 kB / 438.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.254, allocations: 258.8 kB / 438.6 MB, free: 500 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.2541, allocations: 60 kB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2542, allocations: 60 kB / 438.7 MB, free: 380 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.2543, allocations: 139.5 kB / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.2546, allocations: 266.9 kB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008167/0.2555, allocations: 0.7225 MB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2555, allocations: 0 / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2555, allocations: 0 / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2555, allocations: 0 / 439.8 MB, free: 15.25 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.001685/0.2572, allocations: 0.8608 MB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2572, allocations: 12.03 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.2573, allocations: 72.52 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/0.2582, allocations: 393.2 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.2583, allocations: 110.6 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.2584, allocations: 32.38 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.2595, allocations: 0.8864 MB / 442.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2596, allocations: 0 / 442.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.2596, allocations: 23.98 kB / 442.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.2596, allocations: 8 kB / 442.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008891/0.2605, allocations: 347.8 kB / 442.5 MB, free: 12.3 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.002128/0.2626, allocations: 0.989 MB / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/0.2636, allocations: 358.5 kB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.264, allocations: 176.8 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.2641, allocations: 4 kB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2641, allocations: 42.31 kB / 444.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.2641, allocations: 0 / 444.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001718/0.2658, allocations: 0.589 MB / 444.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/0.2661, allocations: 448.9 kB / 445.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.2667, allocations: 433.9 kB / 445.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.2667, allocations: 33.7 kB / 445.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.2669, allocations: 252.5 kB / 445.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.2671, allocations: 142.8 kB / 446 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.2672, allocations: 81.64 kB / 446 MB, free: 8.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.2674, allocations: 362.7 kB / 446.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.2678, allocations: 165.6 kB / 446.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/0.2686, allocations: 0.6967 MB / 447.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.2695, allocations: 346.8 kB / 447.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.2695, allocations: 3.984 kB / 447.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001196/0.2707, allocations: 0.5057 MB / 448.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.2707, allocations: 37.73 kB / 448.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2707, allocations: 0 / 448.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.2709, allocations: 49.69 kB / 448.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.2714, allocations: 87.81 kB / 448.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.2741, allocations: 2.697 MB / 451 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.2746, allocations: 47.8 kB / 451 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.2747, allocations: 19.98 kB / 451 MB, free: 3.168 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.0002687/0.2749, allocations: 175.8 kB / 451.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.275, allocations: 51.67 kB / 451.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.2752, allocations: 56.62 kB / 451.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2752, allocations: 4.234 kB / 451.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2752, allocations: 0 / 451.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.2763, allocations: 0.7361 MB / 452 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.2781, allocations: 0.8918 MB / 452.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.2781, allocations: 3.984 kB / 452.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.2786, allocations: 95.81 kB / 453 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2786, allocations: 0 / 453 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.2786, allocations: 8 kB / 453 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2787, allocations: 0 / 453 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2787, allocations: 7.938 kB / 453 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.2802, allocations: 0.6684 MB / 453.7 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.2804, allocations: 91.58 kB / 453.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.2805, allocations: 16.05 kB / 453.8 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.2809, allocations: 31.97 kB / 453.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.281, allocations: 27.89 kB / 453.9 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.281, allocations: 8 kB / 453.9 MB, free: 124 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004273/0.2814, allocations: 307.1 kB / 454.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2814, allocations: 0 / 454.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000516/0.2819, allocations: 147.8 kB / 454.3 MB, free: 15.68 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.0001421/0.2821, allocations: 111.1 kB / 454.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.2834, allocations: 0.6589 MB / 455.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2834, allocations: 0 / 455.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.2839, allocations: 183.6 kB / 455.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.2846, allocations: 125.8 kB / 455.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.2865, allocations: 1.005 MB / 456.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2868, allocations: 238 kB / 456.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.287, allocations: 43.44 kB / 456.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.287, allocations: 0 / 456.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.0155/0.3025, allocations: 9.252 MB / 465.9 MB, free: 4.023 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/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: 8.045247782953084]