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.0019/0.0019, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002361/0.002361, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001543/0.001543, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2153, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004854/0.2202, allocations: 3.446 MB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.2218, allocations: 0.9813 MB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.222, allocations: 11.94 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.2223, allocations: 111 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.2227, allocations: 210.3 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.223, allocations: 131.8 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.2238, allocations: 0.7072 MB / 437.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.224, allocations: 147.2 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.2243, allocations: 274.9 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.2247, allocations: 302.7 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.2248, allocations: 60 kB / 438.7 MB, free: 336 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.2249, allocations: 60 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.225, allocations: 135.5 kB / 438.9 MB, free: 140 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.2253, allocations: 270.8 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.226, allocations: 0.7225 MB / 439.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.226, allocations: 0 / 439.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.226, allocations: 0 / 439.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.226, allocations: 0 / 439.8 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.00168/0.2277, allocations: 0.8628 MB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2277, allocations: 8.031 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.2279, allocations: 80.52 kB / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007476/0.2286, allocations: 385.3 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.2288, allocations: 114.7 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.2288, allocations: 36.38 kB / 441.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.23, allocations: 0.8786 MB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.23, allocations: 4 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.23, allocations: 20 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2301, allocations: 8 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.2309, allocations: 343.8 kB / 442.6 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.002013/0.2329, allocations: 0.985 MB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009016/0.2338, allocations: 360.1 kB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.2343, allocations: 176.8 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.2343, allocations: 7.984 kB / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.2344, allocations: 46.3 kB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.2344, allocations: 0 / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001631/0.236, allocations: 0.5928 MB / 444.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002344/0.2362, allocations: 448.9 kB / 445.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.2367, allocations: 433.9 kB / 445.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.2368, allocations: 33.7 kB / 445.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.237, allocations: 252.5 kB / 445.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2371, allocations: 138.8 kB / 446 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.2373, allocations: 85.64 kB / 446.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2375, allocations: 362.7 kB / 446.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.2379, allocations: 169.6 kB / 446.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/0.2386, allocations: 0.685 MB / 447.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008256/0.2394, allocations: 354.8 kB / 447.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2394, allocations: 4 kB / 447.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001119/0.2405, allocations: 0.5058 MB / 448.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.2406, allocations: 33.7 kB / 448.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.2406, allocations: 0 / 448.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.2408, allocations: 49.69 kB / 448.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.2412, allocations: 87.88 kB / 448.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.2438, allocations: 2.697 MB / 451 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.2442, allocations: 55.73 kB / 451.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.2443, allocations: 12 kB / 451.1 MB, free: 3.066 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.0002375/0.2445, allocations: 177.8 kB / 451.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2446, allocations: 55.67 kB / 451.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.2448, allocations: 56.61 kB / 451.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2448, allocations: 4 kB / 451.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2448, allocations: 0 / 451.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.2458, allocations: 0.7322 MB / 452.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.2475, allocations: 0.8879 MB / 453 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2475, allocations: 0 / 453 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.248, allocations: 91.88 kB / 453.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.248, allocations: 4 kB / 453.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.2481, allocations: 8 kB / 453.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2481, allocations: 0 / 453.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2481, allocations: 11.92 kB / 453.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.2495, allocations: 0.6644 MB / 453.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.2497, allocations: 103.6 kB / 453.9 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.2497, allocations: 8 kB / 453.9 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.2501, allocations: 27.97 kB / 453.9 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.2502, allocations: 27.89 kB / 453.9 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.2502, allocations: 8 kB / 453.9 MB, free: 24 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003684/0.2506, allocations: 311.2 kB / 454.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2506, allocations: 0 / 454.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.251, allocations: 147.8 kB / 454.4 MB, free: 15.58 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.0001483/0.2512, allocations: 115.1 kB / 454.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.2525, allocations: 0.6549 MB / 455.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2525, allocations: 4 kB / 455.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.2529, allocations: 179.6 kB / 455.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.2536, allocations: 138 kB / 455.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.2553, allocations: 0.9662 MB / 456.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2555, allocations: 238 kB / 456.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.2558, allocations: 64.23 kB / 456.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.2559, allocations: 39.44 kB / 456.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2559, allocations: 0 / 456.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.0174/0.2733, allocations: 10.18 MB / 466.9 MB, free: 3.145 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 -s gbode -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: 4.6387615950079635]