Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.00117/0.00117, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001626/0.002796, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007222/0.0007222, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009833/0.001706, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.8297/0.8297, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1464/0.9761, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.703e-05, allocations: 6.109 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006125/0.006142, allocations: 5.174 MB / 227.2 MB, free: 10.86 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.008111, allocations: 1.422 MB / 228.6 MB, free: 9.422 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.008417, allocations: 15.88 kB / 228.6 MB, free: 9.406 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.00868, allocations: 182.4 kB / 228.8 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.009091, allocations: 368.8 kB / 229.1 MB, free: 8.863 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.009417, allocations: 239.5 kB / 229.4 MB, free: 8.629 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009189/0.01034, allocations: 1.273 MB / 230.6 MB, free: 7.352 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.01064, allocations: 244.5 kB / 230.9 MB, free: 7.094 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.01171, allocations: 0.8466 MB / 231.7 MB, free: 6.23 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.01209, allocations: 402.9 kB / 232.1 MB, free: 5.836 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.01219, allocations: 108 kB / 232.2 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.01231, allocations: 108 kB / 232.3 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.01242, allocations: 167.4 kB / 232.5 MB, free: 5.461 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.01265, allocations: 323.4 kB / 232.8 MB, free: 5.145 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.01319, allocations: 0.7357 MB / 233.6 MB, free: 4.406 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.0132, allocations: 4 kB / 233.6 MB, free: 4.402 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01321, allocations: 3.938 kB / 233.6 MB, free: 4.398 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.01322, allocations: 0 / 233.6 MB, free: 4.398 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001352/0.01457, allocations: 1.489 MB / 235 MB, free: 2.863 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.0146, allocations: 12.02 kB / 235.1 MB, free: 2.852 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.01473, allocations: 132.8 kB / 235.2 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.01515, allocations: 390.1 kB / 235.6 MB, free: 2.316 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.01531, allocations: 297.1 kB / 235.9 MB, free: 1.969 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.01539, allocations: 80.38 kB / 235.9 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008105/0.0162, allocations: 1.437 MB / 237.4 MB, free: 168 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01621, allocations: 4.172 kB / 237.4 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.01626, allocations: 32.12 kB / 237.4 MB, free: 132 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.01627, allocations: 19.98 kB / 237.4 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.01655, allocations: 206.3 kB / 237.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.01827, allocations: 1.095 MB / 238.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.01871, allocations: 365 kB / 239.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.01889, allocations: 167.3 kB / 239.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.01893, allocations: 24.64 kB / 239.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.01896, allocations: 43.22 kB / 239.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 1.823e-06/0.01896, allocations: 0 / 239.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.001488/0.02045, allocations: 0.8287 MB / 240.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.02048, allocations: 68.06 kB / 240.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.02081, allocations: 0.5078 MB / 240.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.02085, allocations: 41.7 kB / 240.8 MB, free: 12.7 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.02098, allocations: 271 kB / 241 MB, free: 12.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.02112, allocations: 285.5 kB / 241.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.02125, allocations: 150.5 kB / 241.4 MB, free: 11.99 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.02136, allocations: 394.5 kB / 241.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.0215, allocations: 167.1 kB / 242 MB, free: 11.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.02199, allocations: 1.176 MB / 243.2 MB, free: 9.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.02241, allocations: 382 kB / 243.5 MB, free: 9.535 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02241, allocations: 0 / 243.5 MB, free: 9.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009498/0.02336, allocations: 0.6882 MB / 244.2 MB, free: 8.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.02341, allocations: 85.11 kB / 244.3 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.02342, allocations: 4.062 kB / 244.3 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/0.02384, allocations: 171.2 kB / 244.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.02436, allocations: 183.7 kB / 244.7 MB, free: 8.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.02837, allocations: 5.32 MB / 250 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.02875, allocations: 83.77 kB / 250.1 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.02879, allocations: 16 kB / 250.1 MB, free: 2.559 MB / 250.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.0001761/0.02896, allocations: 169.6 kB / 250.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.02908, allocations: 91.84 kB / 250.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.02919, allocations: 96.08 kB / 250.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.02919, allocations: 4 kB / 250.4 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.0292, allocations: 4 kB / 250.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000857/0.03006, allocations: 0.7997 MB / 251.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.03187, allocations: 0.9756 MB / 252.2 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.03187, allocations: 4 kB / 252.2 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.0324, allocations: 198.5 kB / 252.4 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.03261, allocations: 91.53 kB / 252.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.03293, allocations: 138.5 kB / 252.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.03296, allocations: 15.98 kB / 252.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.03579, allocations: 4.037 MB / 256.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.03579, allocations: 8.078 kB / 256.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.03683, allocations: 0.732 MB / 257.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.03691, allocations: 20 kB / 257.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.03726, allocations: 35.97 kB / 257.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.03738, allocations: 68.52 kB / 257.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.03741, allocations: 16 kB / 257.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.03763, allocations: 252.6 kB / 257.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03763, allocations: 0 / 257.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006028/0.03824, allocations: 291.7 kB / 258.1 MB, free: 10.09 MB / 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.0001338/0.03837, allocations: 108.3 kB / 258.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.03957, allocations: 1.093 MB / 259.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.962e-05/0.03959, allocations: 12 kB / 259.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.04022, allocations: 0.6395 MB / 260 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.04163, allocations: 2.289 MB / 262.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.05335, allocations: 1.391 MB / 263.6 MB, free: 3.914 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.05348, allocations: 177.4 kB / 263.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003112/0.05379, allocations: 102.7 kB / 263.9 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007144/0.05451, allocations: 389 kB / 264.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05451, allocations: 0 / 264.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of Templates: time 0.1334/0.1879, allocations: 23.22 MB / 287.5 MB, free: 52.42 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4670730978250504]