Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.001098/0.001098, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.00254, 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.0006988/0.0006988, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008993/0.001598, 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.826/0.826, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1319/0.9579, allocations: 49.48 MB / 220.6 MB, free: 1.445 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.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.552e-05, allocations: 6.312 kB / 221.9 MB, free: 128 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.008046/0.008061, allocations: 9.515 MB / 231.4 MB, free: 6.562 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.009169, allocations: 0.7126 MB / 232.1 MB, free: 5.848 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.009324, allocations: 7.938 kB / 232.1 MB, free: 5.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.009576, allocations: 103.3 kB / 232.2 MB, free: 5.738 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.01004, allocations: 345.9 kB / 232.6 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.0113, allocations: 0.7479 MB / 233.3 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.01205, allocations: 0.9729 MB / 234.3 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.01219, allocations: 70.86 kB / 234.3 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.01399, allocations: 1.481 MB / 235.8 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.01428, allocations: 239.2 kB / 236.1 MB, free: 1.887 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.01432, allocations: 28 kB / 236.1 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.01464, allocations: 179.7 kB / 236.3 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.01472, allocations: 87.66 kB / 236.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01483, allocations: 115.9 kB / 236.5 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.01547, allocations: 339 kB / 236.8 MB, free: 1.152 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.01548, allocations: 7.984 kB / 236.8 MB, free: 1.145 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01548, allocations: 0 / 236.8 MB, free: 1.145 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.0155, allocations: 0 / 236.8 MB, free: 1.145 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006318/0.01613, allocations: 0.601 MB / 237.4 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.01616, allocations: 8.031 kB / 237.4 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.01645, allocations: 181.6 kB / 237.6 MB, free: 324 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.0167, allocations: 217 kB / 237.8 MB, free: 80 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.01671, allocations: 21.03 kB / 237.8 MB, free: 56 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.01675, allocations: 28.38 kB / 237.8 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.01707, allocations: 491.4 kB / 238.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01708, allocations: 8.172 kB / 238.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.01711, allocations: 16.12 kB / 238.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.01711, allocations: 8 kB / 238.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.01723, allocations: 99.23 kB / 238.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.0183, allocations: 1.242 MB / 239.7 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.01844, allocations: 102.5 kB / 239.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.01848, allocations: 40.84 kB / 239.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.01852, allocations: 23.95 kB / 239.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.01855, allocations: 42.56 kB / 239.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.01855, allocations: 3.938 kB / 239.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001416/0.01996, allocations: 0.6976 MB / 240.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.01999, allocations: 59.34 kB / 240.7 MB, free: 13 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.02011, allocations: 220.9 kB / 240.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.02013, allocations: 29.7 kB / 240.9 MB, free: 12.74 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.0202, allocations: 180.3 kB / 241.1 MB, free: 12.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.02025, allocations: 107.1 kB / 241.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.02031, allocations: 81.98 kB / 241.3 MB, free: 12.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.02038, allocations: 334.8 kB / 241.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.02042, allocations: 32.73 kB / 241.6 MB, free: 12 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.0205, allocations: 118.2 kB / 241.7 MB, free: 11.85 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.02064, allocations: 195.8 kB / 241.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.02065, allocations: 4 kB / 241.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002105/0.02086, allocations: 222 kB / 242.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.02087, allocations: 8.312 kB / 242.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.02088, allocations: 4 kB / 242.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.02107, allocations: 68.8 kB / 242.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.02127, allocations: 83.88 kB / 242.3 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002841/0.02156, allocations: 0.5718 MB / 242.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.02164, allocations: 11.94 kB / 242.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.02166, allocations: 12 kB / 242.9 MB, free: 10.61 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/0.02174, allocations: 148.5 kB / 243.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.02178, allocations: 27.97 kB / 243.1 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.02204, allocations: 264.9 kB / 243.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.02204, allocations: 4 kB / 243.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.02204, allocations: 3.938 kB / 243.3 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000464/0.02251, allocations: 469.3 kB / 243.8 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.02293, allocations: 433.2 kB / 244.2 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.02294, allocations: 8.062 kB / 244.2 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.02304, allocations: 47.91 kB / 244.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.02307, allocations: 23.8 kB / 244.3 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.02331, allocations: 92.67 kB / 244.4 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.02332, allocations: 4 kB / 244.4 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/0.02362, allocations: 0.5757 MB / 245 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02362, allocations: 0 / 245 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.02396, allocations: 314.2 kB / 245.3 MB, free: 8.016 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.024, allocations: 11.98 kB / 245.3 MB, free: 8.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.02414, allocations: 8 kB / 245.3 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.02417, allocations: 31.7 kB / 245.3 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.02419, allocations: 7.984 kB / 245.3 MB, free: 7.957 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.462e-05/0.02426, allocations: 74.78 kB / 245.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02426, allocations: 4.062 kB / 245.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.02459, allocations: 115.9 kB / 245.5 MB, free: 7.766 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.02477, allocations: 112.3 kB / 245.6 MB, free: 7.645 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.02503, allocations: 159.6 kB / 245.8 MB, free: 7.488 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.02504, allocations: 4 kB / 245.8 MB, free: 7.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.02517, allocations: 90.28 kB / 245.9 MB, free: 7.395 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.02571, allocations: 184.2 kB / 246.1 MB, free: 7.215 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005651/0.03136, allocations: 0.5682 MB / 246.6 MB, free: 6.613 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.407e-05/0.03142, allocations: 92.56 kB / 246.7 MB, free: 6.504 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.0316, allocations: 62.86 kB / 246.8 MB, free: 6.441 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/0.03192, allocations: 165.2 kB / 246.9 MB, free: 6.277 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03192, allocations: 0 / 246.9 MB, free: 6.277 MB / 250.7 MB Notification: Performance of Templates: time 0.01014/0.04206, allocations: 7.219 MB / 254.2 MB, free: 15.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.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: 2.7244687462225556]