Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.001054/0.001054, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002746, 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.0009994/0.0009994, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002419, 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.8768/0.8768, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1561/1.033, allocations: 52.49 MB / 238.5 MB, free: 7.629 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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.244e-05, allocations: 2.312 kB / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005666/0.005678, allocations: 5.171 MB / 244.9 MB, free: 1.184 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.008249, allocations: 1.382 MB / 246.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.008559, allocations: 11.94 kB / 246.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.008904, allocations: 174.4 kB / 246.5 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.009582, allocations: 365 kB / 246.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.01005, allocations: 245.3 kB / 247.1 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.01133, allocations: 1.27 MB / 248.3 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.01177, allocations: 252.5 kB / 248.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009942/0.01276, allocations: 0.8433 MB / 249.4 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.0133, allocations: 398.9 kB / 249.8 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.01347, allocations: 110 kB / 249.9 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.01364, allocations: 108 kB / 250 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.01391, allocations: 167.4 kB / 250.2 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.01426, allocations: 327.4 kB / 250.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007906/0.01505, allocations: 0.7396 MB / 251.3 MB, free: 10.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.01506, allocations: 0.5 kB / 251.3 MB, free: 10.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01506, allocations: 0.8125 kB / 251.3 MB, free: 10.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.01508, allocations: 0 / 251.3 MB, free: 10.8 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001992/0.01707, allocations: 1.495 MB / 252.8 MB, free: 9.258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.0171, allocations: 8.031 kB / 252.8 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.01731, allocations: 140.8 kB / 252.9 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.01795, allocations: 394 kB / 253.3 MB, free: 8.703 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.01815, allocations: 293.2 kB / 253.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.01826, allocations: 80.36 kB / 253.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.01965, allocations: 1.438 MB / 255.1 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.01967, allocations: 4.172 kB / 255.1 MB, free: 6.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.01973, allocations: 32.12 kB / 255.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.01975, allocations: 16 kB / 255.1 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.02021, allocations: 202.3 kB / 255.3 MB, free: 6.309 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.02254, allocations: 1.103 MB / 256.4 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.02305, allocations: 366.6 kB / 256.8 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.02323, allocations: 175.3 kB / 257 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.02328, allocations: 20.64 kB / 257 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.02331, allocations: 51.22 kB / 257 MB, free: 4.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 1.703e-06/0.02331, allocations: 0 / 257 MB, free: 4.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.001427/0.02474, allocations: 0.8208 MB / 257.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.02476, allocations: 64.06 kB / 257.9 MB, free: 3.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.02505, allocations: 0.5078 MB / 258.4 MB, free: 3.137 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.02509, allocations: 45.7 kB / 258.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.02521, allocations: 267.1 kB / 258.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.02533, allocations: 281.5 kB / 259 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.02546, allocations: 146.6 kB / 259.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.02557, allocations: 398.5 kB / 259.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.02571, allocations: 167.1 kB / 259.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.02615, allocations: 1.176 MB / 260.9 MB, free: 340 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.02646, allocations: 378 kB / 261.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02646, allocations: 0 / 261.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0006919/0.02716, allocations: 0.6882 MB / 261.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.0272, allocations: 89.11 kB / 262 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.02721, allocations: 0 / 262 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/0.02753, allocations: 167.3 kB / 262.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.02792, allocations: 187.7 kB / 262.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.03072, allocations: 5.305 MB / 267.7 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.03102, allocations: 95.55 kB / 267.8 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.03105, allocations: 20 kB / 267.8 MB, free: 8.957 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.03119, allocations: 157.7 kB / 267.9 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.03131, allocations: 87.84 kB / 268 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.03142, allocations: 96.08 kB / 268.1 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.03143, allocations: 8 kB / 268.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.03143, allocations: 0 / 268.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006624/0.03209, allocations: 0.7918 MB / 268.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.0333, allocations: 0.9912 MB / 269.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.0333, allocations: 0 / 269.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.03372, allocations: 196.8 kB / 270.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.03387, allocations: 91.28 kB / 270.2 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.03412, allocations: 142.5 kB / 270.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.03415, allocations: 19.92 kB / 270.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.03637, allocations: 4.045 MB / 274.4 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03637, allocations: 4 kB / 274.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.03717, allocations: 0.7166 MB / 275.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.03723, allocations: 20 kB / 275.1 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.03749, allocations: 39.97 kB / 275.2 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.03759, allocations: 76.52 kB / 275.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.03761, allocations: 12 kB / 275.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.03777, allocations: 252.6 kB / 275.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03777, allocations: 0 / 275.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004557/0.03822, allocations: 299.7 kB / 275.8 MB, free: 500 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.03833, allocations: 104.3 kB / 275.9 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007305/0.03906, allocations: 1.09 MB / 277 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/0.03908, allocations: 12 kB / 277 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.03955, allocations: 0.6354 MB / 277.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.04059, allocations: 2.294 MB / 279.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008533/0.04912, allocations: 1.394 MB / 281.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.04923, allocations: 173.4 kB / 281.5 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.04949, allocations: 102.7 kB / 281.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.05003, allocations: 389 kB / 282 MB, free: 9.648 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.05003, allocations: 4 kB / 282 MB, free: 9.645 MB / 282.7 MB Notification: Performance of Templates: time 0.02603/0.07606, allocations: 23.24 MB / 305.2 MB, free: 2.816 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.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: 3.05334550421685]