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.0009477/0.0009477, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.0009629/0.0009629, allocations: 164.2 kB / 25.69 MB, free: 8.449 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.9899/0.9899, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.503e-06/1.503e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.951e-05, allocations: 6.25 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004752/0.004781, allocations: 5.154 MB / 256.7 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.006837, allocations: 1.414 MB / 258.1 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.007099, allocations: 19.88 kB / 258.2 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.007433, allocations: 174.5 kB / 258.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.007908, allocations: 360.8 kB / 258.7 MB, free: 72 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.008248, allocations: 247.5 kB / 258.9 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000904/0.009152, allocations: 1.272 MB / 260.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.009453, allocations: 244.6 kB / 260.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.009989, allocations: 0.7095 MB / 261.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.01038, allocations: 398.9 kB / 261.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.01049, allocations: 108 kB / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.0106, allocations: 112 kB / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.01072, allocations: 239.2 kB / 262 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.01099, allocations: 395.1 kB / 262.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006422/0.01163, allocations: 0.8174 MB / 263.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01163, allocations: 0 / 263.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01164, allocations: 0 / 263.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.01165, allocations: 0 / 263.2 MB, free: 11.54 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.001325/0.01297, allocations: 1.29 MB / 264.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.01301, allocations: 11.98 kB / 264.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.01316, allocations: 136.8 kB / 264.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.01367, allocations: 386.1 kB / 265 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.01385, allocations: 297.2 kB / 265.3 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.01393, allocations: 76.38 kB / 265.4 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.01484, allocations: 1.429 MB / 266.8 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.01485, allocations: 8.109 kB / 266.8 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.01489, allocations: 40.06 kB / 266.8 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.01491, allocations: 16 kB / 266.8 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.0152, allocations: 206.3 kB / 267 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.01674, allocations: 1.099 MB / 268.1 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.01717, allocations: 360.6 kB / 268.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.01737, allocations: 167.4 kB / 268.7 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.01741, allocations: 16.59 kB / 268.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.01744, allocations: 47.22 kB / 268.7 MB, free: 5.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 1.743e-06/0.01744, allocations: 0 / 268.7 MB, free: 5.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.001497/0.01894, allocations: 0.8326 MB / 269.6 MB, free: 4.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002508/0.01919, allocations: 0.8234 MB / 270.4 MB, free: 3.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.0195, allocations: 0.5039 MB / 270.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.01954, allocations: 45.7 kB / 270.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01966, allocations: 267 kB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.01979, allocations: 285.5 kB / 271.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.01993, allocations: 146.6 kB / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.02004, allocations: 402.5 kB / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.02019, allocations: 167 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.02067, allocations: 1.172 MB / 273.3 MB, free: 352 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.021, allocations: 378 kB / 273.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.021, allocations: 0 / 273.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007264/0.02173, allocations: 0.6882 MB / 274.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.02177, allocations: 85.09 kB / 274.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.02178, allocations: 8.062 kB / 274.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/0.02211, allocations: 155.2 kB / 274.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.0225, allocations: 183.7 kB / 274.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.02559, allocations: 5.316 MB / 280.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.02588, allocations: 83.58 kB / 280.2 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.02591, allocations: 16 kB / 280.2 MB, free: 8.984 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.0001498/0.02606, allocations: 165.6 kB / 280.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.02615, allocations: 91.84 kB / 280.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.11e-05/0.02623, allocations: 100.1 kB / 280.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.02624, allocations: 8 kB / 280.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02624, allocations: 3.938 kB / 280.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006783/0.02692, allocations: 0.788 MB / 281.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.02814, allocations: 0.9875 MB / 282.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.02814, allocations: 0 / 282.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.02854, allocations: 183.6 kB / 282.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.02881, allocations: 142.4 kB / 282.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.02883, allocations: 8 kB / 282.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.03106, allocations: 4.045 MB / 286.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.03107, allocations: 3.984 kB / 286.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.03187, allocations: 0.7127 MB / 287.5 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.03202, allocations: 99.2 kB / 287.6 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.03208, allocations: 24 kB / 287.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.03232, allocations: 43.91 kB / 287.6 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.03243, allocations: 68.59 kB / 287.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.03246, allocations: 23.98 kB / 287.7 MB, free: 1.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.03262, allocations: 244.6 kB / 288 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03262, allocations: 4 kB / 288 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004655/0.03308, allocations: 291.7 kB / 288.2 MB, free: 0.5234 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.0001053/0.03319, allocations: 100.4 kB / 288.3 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008127/0.034, allocations: 1.088 MB / 289.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.03402, allocations: 8 kB / 289.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.03449, allocations: 0.5913 MB / 290 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.03499, allocations: 242.8 kB / 290.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.03676, allocations: 1.405 MB / 291.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.625e-05/0.03686, allocations: 169.3 kB / 291.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.03709, allocations: 106.4 kB / 291.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/0.03763, allocations: 389 kB / 292.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03763, allocations: 0 / 292.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of Templates: time 0.02067/0.0583, allocations: 20.93 MB / 313.2 MB, free: 7.309 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 -s gbode -gbm=radauIIA3 -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.2145172590389848]