Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007177/0.0007177, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009632/0.001681, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007201/0.0007201, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008603/0.00158, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9312/0.9312, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07934/1.01, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.644e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003088/0.003104, allocations: 3.789 MB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.00416, allocations: 1.059 MB / 249.8 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.004297, allocations: 11.94 kB / 249.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.004471, allocations: 111 kB / 250 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.004714, allocations: 222.1 kB / 250.2 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.004895, allocations: 135.7 kB / 250.3 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00049/0.005385, allocations: 0.739 MB / 251.1 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.005559, allocations: 145.1 kB / 251.2 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.005948, allocations: 493.8 kB / 251.7 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.006155, allocations: 219.4 kB / 251.9 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.006469, allocations: 60 kB / 251.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.006e-05/0.006529, allocations: 60 kB / 252 MB, free: 6.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.006592, allocations: 99.62 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.006738, allocations: 191.6 kB / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.007082, allocations: 426.5 kB / 252.7 MB, free: 5.914 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.007094, allocations: 0 / 252.7 MB, free: 5.914 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.007094, allocations: 0 / 252.7 MB, free: 5.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.007108, allocations: 0 / 252.7 MB, free: 5.914 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.0008856/0.007994, allocations: 0.9371 MB / 253.6 MB, free: 4.941 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.008022, allocations: 8.625 kB / 253.7 MB, free: 4.934 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.008099, allocations: 72.88 kB / 253.7 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.008386, allocations: 287.7 kB / 254 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.008467, allocations: 110.6 kB / 254.1 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.00851, allocations: 40.38 kB / 254.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.00895, allocations: 0.7703 MB / 254.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.008961, allocations: 192 / 254.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.008985, allocations: 20.12 kB / 254.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.008991, allocations: 8 kB / 255 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.00915, allocations: 118.9 kB / 255.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.01005, allocations: 0.6928 MB / 255.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.01029, allocations: 181.9 kB / 255.9 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.01037, allocations: 76.45 kB / 256 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.0104, allocations: 12 kB / 256 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.01042, allocations: 42.56 kB / 256.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.292e-06/0.01042, allocations: 0 / 256.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004144/0.01083, allocations: 271 kB / 256.3 MB, free: 2.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.01086, allocations: 59.41 kB / 256.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.01106, allocations: 371.2 kB / 256.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.01108, allocations: 37.7 kB / 256.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.01116, allocations: 193.4 kB / 257 MB, free: 1.328 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.01122, allocations: 138.8 kB / 257.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.0113, allocations: 77.67 kB / 257.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.01139, allocations: 362.7 kB / 257.5 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.01146, allocations: 61.69 kB / 257.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.01169, allocations: 0.5719 MB / 258.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.01184, allocations: 166.9 kB / 258.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01185, allocations: 4 kB / 258.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002424/0.01209, allocations: 278.1 kB / 258.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.01212, allocations: 37.7 kB / 258.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01212, allocations: 0 / 258.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.8e-05/0.0122, allocations: 37.67 kB / 258.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.01247, allocations: 107.9 kB / 258.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.01379, allocations: 2.409 MB / 261.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01395, allocations: 43.77 kB / 261.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.01397, allocations: 8 kB / 261.3 MB, free: 12.66 MB / 266.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.63e-05/0.01407, allocations: 133.8 kB / 261.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.01411, allocations: 47.89 kB / 261.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.01416, allocations: 56.61 kB / 261.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01417, allocations: 8 kB / 261.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01417, allocations: 0 / 261.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002542/0.01442, allocations: 0.5367 MB / 262 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.01495, allocations: 0.5415 MB / 262.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.01496, allocations: 7.969 kB / 262.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.01522, allocations: 116.5 kB / 262.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.01531, allocations: 51.64 kB / 262.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01531, allocations: 4 kB / 262.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01532, allocations: 4 kB / 262.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01533, allocations: 0 / 262.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.01533, allocations: 4 kB / 262.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.01561, allocations: 361.2 kB / 263.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.01565, allocations: 8 kB / 263.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.01579, allocations: 19.98 kB / 263.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.01583, allocations: 27.98 kB / 263.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.01584, allocations: 15.92 kB / 263.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.01595, allocations: 156.7 kB / 263.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01595, allocations: 0 / 263.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.01618, allocations: 147.8 kB / 263.5 MB, free: 10.26 MB / 266.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.592e-05/0.01625, allocations: 84.36 kB / 263.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.01665, allocations: 0.4981 MB / 264.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.01666, allocations: 8 kB / 264.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.01675, allocations: 92.67 kB / 264.2 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.01709, allocations: 193.6 kB / 264.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.02297, allocations: 0.8714 MB / 265.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.503e-05/0.02303, allocations: 109.8 kB / 265.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.0232, allocations: 68.34 kB / 265.4 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.02352, allocations: 229.2 kB / 265.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02352, allocations: 0 / 265.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of Templates: time 0.01177/0.03529, allocations: 11 MB / 276.6 MB, free: 13.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.630224369466305]