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.001016/0.001016, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001117/0.001117, allocations: 170.1 kB / 25.33 MB, free: 8.598 MB / 18.57 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.9467/0.9467, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.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.834e-06/1.834e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.25e-05, allocations: 6.25 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004832/0.004864, allocations: 5.185 MB / 256.2 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.00642, allocations: 1.368 MB / 257.6 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.00663, allocations: 11.94 kB / 257.6 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.006964, allocations: 166.5 kB / 257.8 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.00739, allocations: 364.8 kB / 258.1 MB, free: 392 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.007688, allocations: 239.6 kB / 258.4 MB, free: 152 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009088/0.008597, allocations: 1.28 MB / 259.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.0089, allocations: 234.6 kB / 259.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.009405, allocations: 0.7017 MB / 260.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.009781, allocations: 398.9 kB / 261 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.009888, allocations: 112 kB / 261.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.01, allocations: 108 kB / 261.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.01012, allocations: 247.1 kB / 261.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.0104, allocations: 399.1 kB / 261.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.01107, allocations: 0.8291 MB / 262.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01107, allocations: 0 / 262.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01107, allocations: 4 kB / 262.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.01108, allocations: 0 / 262.6 MB, free: 11.85 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.001476/0.01255, allocations: 1.423 MB / 264.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.01259, allocations: 11.98 kB / 264.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.01277, allocations: 168.3 kB / 264.2 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.01344, allocations: 0.5215 MB / 264.8 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.01364, allocations: 297.2 kB / 265 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.01375, allocations: 76.38 kB / 265.1 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.0148, allocations: 1.538 MB / 266.7 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.01481, allocations: 4.188 kB / 266.7 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.01486, allocations: 36.11 kB / 266.7 MB, free: 7.316 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.01488, allocations: 16 kB / 266.7 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.01538, allocations: 315.6 kB / 267 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.01769, allocations: 1.564 MB / 268.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.01859, allocations: 454.7 kB / 269 MB, free: 4.934 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.01895, allocations: 230.1 kB / 269.3 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.019, allocations: 12.66 kB / 269.3 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.01904, allocations: 50.05 kB / 269.3 MB, free: 4.629 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 4.338e-06/0.01904, allocations: 4 kB / 269.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.002225/0.02127, allocations: 1.054 MB / 270.4 MB, free: 3.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002421/0.02151, allocations: 0.8234 MB / 271.2 MB, free: 2.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.02205, allocations: 0.6129 MB / 271.8 MB, free: 1.902 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.02211, allocations: 49.7 kB / 271.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.02233, allocations: 415.9 kB / 272.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.02248, allocations: 277.5 kB / 272.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.02264, allocations: 160.2 kB / 272.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.02281, allocations: 0.5664 MB / 273.3 MB, free: 428 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.02306, allocations: 211 kB / 273.5 MB, free: 200 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/0.02387, allocations: 1.298 MB / 274.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.02448, allocations: 460.5 kB / 275.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.02448, allocations: 0 / 275.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001151/0.02564, allocations: 0.8923 MB / 276.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.02569, allocations: 85.09 kB / 276.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.0257, allocations: 4 kB / 276.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/0.02619, allocations: 190.5 kB / 276.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.02654, allocations: 143.8 kB / 276.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004369/0.03091, allocations: 7.806 MB / 284.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.03137, allocations: 83.59 kB / 284.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.03141, allocations: 27.98 kB / 284.4 MB, free: 4.266 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.0002141/0.03163, allocations: 212.3 kB / 284.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.03175, allocations: 115.5 kB / 284.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.865e-05/0.03184, allocations: 96.08 kB / 284.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.03184, allocations: 8.188 kB / 284.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.03185, allocations: 0 / 284.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009878/0.03283, allocations: 0.9485 MB / 285.8 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.03466, allocations: 1.439 MB / 287.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.03466, allocations: 192 / 287.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.03502, allocations: 143.8 kB / 287.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/0.03537, allocations: 158.9 kB / 287.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.0354, allocations: 12 kB / 287.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/0.03858, allocations: 5.942 MB / 293.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.03859, allocations: 0 / 293.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.0399, allocations: 0.971 MB / 294.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.04018, allocations: 167.2 kB / 294.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.04024, allocations: 20 kB / 294.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.04055, allocations: 39.97 kB / 294.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.04069, allocations: 76.45 kB / 294.8 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.04072, allocations: 24 kB / 294.8 MB, free: 9.312 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003438/0.04106, allocations: 415 kB / 295.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.04106, allocations: 0 / 295.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000697/0.04176, allocations: 291.7 kB / 295.5 MB, free: 8.625 MB / 282.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.0001493/0.04191, allocations: 123.1 kB / 295.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.04344, allocations: 1.385 MB / 297 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.04345, allocations: 4 kB / 297 MB, free: 6.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00068/0.04413, allocations: 0.8066 MB / 297.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.04484, allocations: 243 kB / 298 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.04734, allocations: 1.494 MB / 299.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.04747, allocations: 169.2 kB / 299.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.04775, allocations: 110.3 kB / 299.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.04789, allocations: 64.5 kB / 299.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of SimCode: time 1.523e-06/0.04789, allocations: 0 / 299.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of Templates: time 0.02165/0.06954, allocations: 19.49 MB / 319.4 MB, free: 0.5 MB / 298.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 -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.482043398078531]