Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007817/0.0007817, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001833, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006283/0.0006283, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009479/0.001576, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8461/0.8461, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1547/1.001, allocations: 52.48 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.247e-05, allocations: 2.312 kB / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004913/0.004935, allocations: 3.775 MB / 243.5 MB, free: 2.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.006864, allocations: 1.029 MB / 244.5 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.007193, allocations: 8.938 kB / 244.5 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.007501, allocations: 111 kB / 244.7 MB, free: 1.438 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.007989, allocations: 224.8 kB / 244.9 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.008303, allocations: 138.3 kB / 245 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008005/0.009103, allocations: 0.7465 MB / 245.8 MB, free: 348 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.00936, allocations: 133.1 kB / 245.9 MB, free: 208 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.01001, allocations: 0.49 MB / 246.4 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.01032, allocations: 223.4 kB / 246.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.01041, allocations: 61.47 kB / 246.7 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/0.0105, allocations: 60 kB / 246.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.01059, allocations: 95.62 kB / 246.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.01078, allocations: 183.7 kB / 247 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.01132, allocations: 439.1 kB / 247.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.01133, allocations: 0 / 247.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01133, allocations: 1.094 kB / 247.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.01134, allocations: 0 / 247.4 MB, free: 14.68 MB / 250.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.00123/0.01257, allocations: 0.9207 MB / 248.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.01261, allocations: 16.02 kB / 248.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.01273, allocations: 73.84 kB / 248.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.01316, allocations: 284.6 kB / 248.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.01328, allocations: 114.7 kB / 248.8 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.01334, allocations: 42.16 kB / 248.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.01397, allocations: 0.7664 MB / 249.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01399, allocations: 192 / 249.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.01402, allocations: 20.78 kB / 249.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.01403, allocations: 8 kB / 249.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.01427, allocations: 115.6 kB / 249.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.01564, allocations: 0.6957 MB / 250.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.016, allocations: 186.4 kB / 250.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.01612, allocations: 72.75 kB / 250.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.01616, allocations: 12 kB / 250.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.01619, allocations: 38.56 kB / 250.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 2.305e-06/0.01619, allocations: 0 / 250.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.000615/0.01681, allocations: 267.6 kB / 251 MB, free: 10.79 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.01684, allocations: 55.41 kB / 251.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.01716, allocations: 371.2 kB / 251.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.01719, allocations: 41.7 kB / 251.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.01731, allocations: 189.5 kB / 251.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.0174, allocations: 138.8 kB / 251.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.01752, allocations: 81.66 kB / 251.9 MB, free: 9.891 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.01764, allocations: 354.7 kB / 252.2 MB, free: 9.535 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.01775, allocations: 69.62 kB / 252.3 MB, free: 9.461 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.01806, allocations: 0.5758 MB / 252.9 MB, free: 8.734 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.0183, allocations: 176.1 kB / 253 MB, free: 8.547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.0183, allocations: 0 / 253 MB, free: 8.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004122/0.01871, allocations: 278.3 kB / 253.3 MB, free: 8.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.01876, allocations: 37.7 kB / 253.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01877, allocations: 0 / 253.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.01888, allocations: 33.69 kB / 253.4 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.01931, allocations: 105.3 kB / 253.5 MB, free: 8.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.02109, allocations: 2.403 MB / 255.9 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.02146, allocations: 55.84 kB / 255.9 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.0215, allocations: 4 kB / 255.9 MB, free: 5.426 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 0.0001731/0.02167, allocations: 133.8 kB / 256.1 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.02176, allocations: 51.89 kB / 256.1 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/0.02185, allocations: 56.61 kB / 256.2 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.02186, allocations: 4 kB / 256.2 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.02186, allocations: 0 / 256.2 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004086/0.02227, allocations: 0.5406 MB / 256.7 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009192/0.02319, allocations: 0.5452 MB / 257.3 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02319, allocations: 4 kB / 257.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.02364, allocations: 112 kB / 257.4 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.0238, allocations: 59.56 kB / 257.4 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.0238, allocations: 4 kB / 257.4 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.02382, allocations: 4 kB / 257.4 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.02383, allocations: 4 kB / 257.5 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02383, allocations: 4 kB / 257.5 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.0243, allocations: 349.1 kB / 257.8 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.02436, allocations: 8 kB / 257.8 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.02463, allocations: 23.98 kB / 257.8 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.02469, allocations: 23.95 kB / 257.9 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.02471, allocations: 11.98 kB / 257.9 MB, free: 3.34 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.02489, allocations: 156.7 kB / 258 MB, free: 3.184 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02489, allocations: 3.938 kB / 258 MB, free: 3.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.02534, allocations: 155.8 kB / 258.2 MB, free: 3.027 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 0.0001216/0.02546, allocations: 84.42 kB / 258.3 MB, free: 2.938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006314/0.02609, allocations: 0.4981 MB / 258.8 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.901e-05/0.02611, allocations: 8 kB / 258.8 MB, free: 2.387 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.0263, allocations: 108.7 kB / 258.9 MB, free: 2.277 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.0274, allocations: 1.41 MB / 260.3 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009821/0.03722, allocations: 0.8451 MB / 261.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.03733, allocations: 113.9 kB / 261.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.03769, allocations: 64.36 kB / 261.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.03823, allocations: 237.2 kB / 261.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of SimCode: time 1.843e-06/0.03823, allocations: 4 kB / 261.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Templates: time 0.01625/0.05448, allocations: 11.34 MB / 272.9 MB, free: 4.223 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5585702108219266]