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.001145/0.001145, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.002824, 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.001042/0.001042, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002416, 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.8889/0.8889, allocations: 158.6 MB / 171.1 MB, free: 2.566 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1328/1.022, allocations: 49.48 MB / 220.5 MB, free: 1.453 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.763e-06/1.763e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.567e-05, allocations: 10.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006297/0.006322, allocations: 5.17 MB / 227 MB, free: 10.97 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.009274, allocations: 1.422 MB / 228.4 MB, free: 9.535 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.009815, allocations: 15.94 kB / 228.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.01023, allocations: 182.4 kB / 228.6 MB, free: 9.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000768/0.011, allocations: 364.8 kB / 229 MB, free: 8.98 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.01152, allocations: 239.6 kB / 229.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.01297, allocations: 1.279 MB / 230.5 MB, free: 7.465 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.01338, allocations: 244.6 kB / 230.7 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.01459, allocations: 0.8466 MB / 231.6 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.01522, allocations: 394.9 kB / 232 MB, free: 5.961 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.01542, allocations: 111.9 kB / 232.1 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.01561, allocations: 112 kB / 232.2 MB, free: 5.742 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.01577, allocations: 167.4 kB / 232.3 MB, free: 5.578 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.01617, allocations: 323.4 kB / 232.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008732/0.01704, allocations: 0.7396 MB / 233.4 MB, free: 4.52 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.73e-05/0.01706, allocations: 0 / 233.4 MB, free: 4.52 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01706, allocations: 0 / 233.4 MB, free: 4.52 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.01709, allocations: 0 / 233.4 MB, free: 4.52 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.002099/0.01919, allocations: 1.493 MB / 234.9 MB, free: 2.98 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.01923, allocations: 12.03 kB / 234.9 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.01943, allocations: 132.8 kB / 235 MB, free: 2.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.02012, allocations: 394 kB / 235.4 MB, free: 2.43 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.02035, allocations: 293.2 kB / 235.7 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.02046, allocations: 80.36 kB / 235.8 MB, free: 2.008 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.02158, allocations: 1.429 MB / 237.2 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.0216, allocations: 4.172 kB / 237.2 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.02165, allocations: 32.12 kB / 237.2 MB, free: 260 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.02167, allocations: 16 kB / 237.3 MB, free: 244 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.02209, allocations: 206.3 kB / 237.5 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.02435, allocations: 1.103 MB / 238.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.02499, allocations: 368.4 kB / 238.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.02527, allocations: 163.4 kB / 239.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.02532, allocations: 24.64 kB / 239.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.02536, allocations: 47.22 kB / 239.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 2.675e-06/0.02537, allocations: 0 / 239.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.002338/0.02771, allocations: 0.8286 MB / 240 MB, free: 13.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.02774, allocations: 68.06 kB / 240.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.02811, allocations: 0.5039 MB / 240.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.02819, allocations: 45.7 kB / 240.6 MB, free: 12.81 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.02833, allocations: 267 kB / 240.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.02849, allocations: 289.5 kB / 241.1 MB, free: 12.26 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.02862, allocations: 146.6 kB / 241.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.02873, allocations: 398.5 kB / 241.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.02889, allocations: 163.1 kB / 241.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.02935, allocations: 1.18 MB / 243 MB, free: 10.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.02966, allocations: 382 kB / 243.4 MB, free: 9.648 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02966, allocations: 0 / 243.4 MB, free: 9.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007503/0.03041, allocations: 0.6882 MB / 244.1 MB, free: 8.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.03047, allocations: 89.17 kB / 244.2 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.03047, allocations: 0 / 244.2 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.03082, allocations: 167.3 kB / 244.3 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.03125, allocations: 183.7 kB / 244.5 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.03438, allocations: 5.314 MB / 249.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.03474, allocations: 83.77 kB / 249.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.03476, allocations: 16 kB / 249.9 MB, free: 2.684 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.0001493/0.03491, allocations: 165.7 kB / 250.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.03499, allocations: 95.84 kB / 250.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.0352, allocations: 92.08 kB / 250.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.03521, allocations: 4 kB / 250.3 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.03521, allocations: 7.984 kB / 250.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006861/0.0359, allocations: 0.7957 MB / 251.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.03712, allocations: 0.9796 MB / 252 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.03712, allocations: 4 kB / 252.1 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.03752, allocations: 195.5 kB / 252.2 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.03768, allocations: 95.33 kB / 252.3 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.03793, allocations: 134.5 kB / 252.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.03796, allocations: 15.98 kB / 252.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.04041, allocations: 4.041 MB / 256.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.04041, allocations: 4.219 kB / 256.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.04155, allocations: 0.7204 MB / 257.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.04163, allocations: 19.98 kB / 257.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.04197, allocations: 43.95 kB / 257.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.04209, allocations: 68.53 kB / 257.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.04212, allocations: 16 kB / 257.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.04234, allocations: 248.6 kB / 257.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04234, allocations: 0 / 257.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006356/0.04297, allocations: 299.7 kB / 257.9 MB, free: 10.21 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.0001208/0.04309, allocations: 108.3 kB / 258 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008954/0.04399, allocations: 1.076 MB / 259.1 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/0.04401, allocations: 12 kB / 259.1 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.04456, allocations: 0.5914 MB / 259.7 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.04526, allocations: 346.6 kB / 260.1 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.05724, allocations: 1.391 MB / 261.4 MB, free: 6.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.05738, allocations: 173.3 kB / 261.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.05772, allocations: 102.4 kB / 261.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/0.05839, allocations: 389 kB / 262.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.05839, allocations: 4 kB / 262.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of Templates: time 0.1145/0.1729, allocations: 22.57 MB / 284.7 MB, free: 53.7 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3212052332237363]