Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001078/0.001078, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002596, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001001/0.001001, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002265, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8557/0.8557, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1407/0.9964, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.882e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003406/0.003425, allocations: 3.769 MB / 225.6 MB, free: 12.37 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.00483, allocations: 1.071 MB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.004996, allocations: 11.94 kB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.0052, allocations: 118.9 kB / 226.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.005468, allocations: 214.1 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.00568, allocations: 139.7 kB / 227.1 MB, free: 10.81 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005235/0.006204, allocations: 0.7273 MB / 227.9 MB, free: 10.08 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.006383, allocations: 149.1 kB / 228 MB, free: 9.934 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.00678, allocations: 497.8 kB / 228.5 MB, free: 9.449 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.007002, allocations: 223.4 kB / 228.7 MB, free: 9.23 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.007065, allocations: 64 kB / 228.8 MB, free: 9.168 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.007122, allocations: 60 kB / 228.8 MB, free: 9.109 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.007181, allocations: 91.69 kB / 228.9 MB, free: 9.02 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.007321, allocations: 187.6 kB / 229.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.007691, allocations: 426.5 kB / 229.5 MB, free: 8.418 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.007702, allocations: 0 / 229.5 MB, free: 8.418 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007703, allocations: 0 / 229.5 MB, free: 8.418 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.007715, allocations: 0 / 229.5 MB, free: 8.418 MB / 234.7 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.0008681/0.008583, allocations: 0.9294 MB / 230.5 MB, free: 7.457 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.008611, allocations: 12.03 kB / 230.5 MB, free: 7.445 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.008688, allocations: 80.8 kB / 230.6 MB, free: 7.367 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.008982, allocations: 279.7 kB / 230.8 MB, free: 7.066 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/0.009057, allocations: 114.7 kB / 230.9 MB, free: 6.938 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.009097, allocations: 40.38 kB / 231 MB, free: 6.898 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.009518, allocations: 0.7741 MB / 231.8 MB, free: 5.973 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.009529, allocations: 192 / 231.8 MB, free: 5.973 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.009553, allocations: 20.12 kB / 231.8 MB, free: 5.953 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.009561, allocations: 11.98 kB / 231.8 MB, free: 5.941 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.009715, allocations: 110.9 kB / 231.9 MB, free: 5.832 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.0106, allocations: 0.685 MB / 232.6 MB, free: 5.125 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.01082, allocations: 182.4 kB / 232.8 MB, free: 4.938 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/0.0109, allocations: 83.02 kB / 232.8 MB, free: 4.855 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.01093, allocations: 8 kB / 232.8 MB, free: 4.848 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.01095, allocations: 38.56 kB / 232.9 MB, free: 4.801 MB / 234.7 MB Notification: Performance of pre-optimization done (n=37): time 1.212e-06/0.01095, allocations: 4 kB / 232.9 MB, free: 4.797 MB / 234.7 MB Notification: Performance of matching and sorting (n=37): time 0.0003959/0.01135, allocations: 283.8 kB / 233.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.01137, allocations: 55.41 kB / 233.2 MB, free: 4.441 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.01156, allocations: 363.3 kB / 233.6 MB, free: 4.074 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.01158, allocations: 33.7 kB / 233.6 MB, free: 4.035 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.01166, allocations: 201.4 kB / 233.8 MB, free: 3.832 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.149e-05/0.01172, allocations: 134.8 kB / 233.9 MB, free: 3.699 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.0118, allocations: 85.61 kB / 234 MB, free: 3.609 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.01188, allocations: 362.7 kB / 234.4 MB, free: 3.246 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.01195, allocations: 65.69 kB / 234.4 MB, free: 3.176 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.01215, allocations: 0.5681 MB / 235 MB, free: 2.457 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.01229, allocations: 166.8 kB / 235.2 MB, free: 2.281 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0123, allocations: 0 / 235.2 MB, free: 2.281 MB / 234.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000222/0.01252, allocations: 274.3 kB / 235.4 MB, free: 1.988 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.01255, allocations: 33.69 kB / 235.5 MB, free: 1.949 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01255, allocations: 4 kB / 235.5 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.92e-05/0.01263, allocations: 41.67 kB / 235.5 MB, free: 1.898 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.01289, allocations: 103.9 kB / 235.6 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.01394, allocations: 2.407 MB / 238 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.01409, allocations: 39.77 kB / 238.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.0141, allocations: 8 kB / 238.1 MB, free: 15.17 MB / 250.7 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 9.201e-05/0.01419, allocations: 133.8 kB / 238.2 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.01424, allocations: 63.94 kB / 238.3 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.01429, allocations: 56.61 kB / 238.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01429, allocations: 4 kB / 238.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01429, allocations: 4 kB / 238.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000251/0.01455, allocations: 0.5397 MB / 238.9 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.01509, allocations: 0.5491 MB / 239.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01509, allocations: 0 / 239.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.01533, allocations: 111.9 kB / 239.5 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.01541, allocations: 51.64 kB / 239.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.01542, allocations: 0 / 239.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01543, allocations: 8 kB / 239.6 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01543, allocations: 0 / 239.6 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.01543, allocations: 0 / 239.6 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.0157, allocations: 353.4 kB / 239.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.01573, allocations: 8 kB / 239.9 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.01586, allocations: 27.95 kB / 240 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.0159, allocations: 27.94 kB / 240 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.01591, allocations: 4 kB / 240 MB, free: 13.08 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.01601, allocations: 160.7 kB / 240.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01601, allocations: 0 / 240.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01624, allocations: 147.8 kB / 240.3 MB, free: 12.78 MB / 250.7 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 7.356e-05/0.01631, allocations: 88.36 kB / 240.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.01667, allocations: 0.4941 MB / 240.9 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.01668, allocations: 11.98 kB / 240.9 MB, free: 12.13 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.01677, allocations: 89 kB / 241 MB, free: 12.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.0171, allocations: 193.7 kB / 241.2 MB, free: 11.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/0.02267, allocations: 0.8675 MB / 242 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.226e-05/0.02273, allocations: 113.8 kB / 242.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.02288, allocations: 64.34 kB / 242.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.02318, allocations: 237.2 kB / 242.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02318, allocations: 0 / 242.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of Templates: time 0.01979/0.04298, allocations: 11.01 MB / 253.4 MB, free: 15.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.687434257939458]