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.002541/0.002541, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002615/0.002615, allocations: 162.6 kB / 25.03 MB, free: 8.941 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 1.586/1.586, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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.984e-06/1.984e-06, allocations: 0 / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.146e-05, allocations: 6.25 kB / 250.4 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.03947/0.0395, allocations: 24.94 MB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.04438, allocations: 2.53 MB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.04479, allocations: 4 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.04557, allocations: 158.9 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.04669, allocations: 345.8 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.04986, allocations: 1.063 MB / 279.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.05132, allocations: 0.9027 MB / 280.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.05157, allocations: 72.75 kB / 280.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006945/0.05852, allocations: 3.25 MB / 283.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.05917, allocations: 255.2 kB / 283.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.05929, allocations: 36 kB / 284 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.06032, allocations: 247.5 kB / 284.2 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.06053, allocations: 103.6 kB / 284.3 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.06087, allocations: 147.7 kB / 284.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.06208, allocations: 0.6037 MB / 285 MB, free: 5.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.06208, allocations: 0 / 285 MB, free: 5.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06209, allocations: 0 / 285 MB, free: 5.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.0621, allocations: 3.938 kB / 285.1 MB, free: 5.012 MB / 266.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.00124/0.06334, allocations: 0.6826 MB / 285.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.06339, allocations: 15.98 kB / 285.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/0.06389, allocations: 100.3 kB / 285.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.06441, allocations: 243.9 kB / 286.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.06444, allocations: 21.03 kB / 286.1 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.06451, allocations: 28.38 kB / 286.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008073/0.06531, allocations: 0.5818 MB / 286.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.06533, allocations: 4.188 kB / 286.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.06538, allocations: 20.12 kB / 286.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.06539, allocations: 11.94 kB / 286.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.06577, allocations: 181.8 kB / 286.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.06835, allocations: 1.915 MB / 288.8 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.06874, allocations: 195 kB / 289 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.06891, allocations: 91.58 kB / 289.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.06901, allocations: 16.22 kB / 289.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.06905, allocations: 41.39 kB / 289.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.06905, allocations: 0 / 289.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.002906/0.07196, allocations: 0.904 MB / 290.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.07201, allocations: 55.41 kB / 290.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.0724, allocations: 328.2 kB / 290.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.07245, allocations: 33.7 kB / 290.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.07265, allocations: 247.1 kB / 290.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.07278, allocations: 111.1 kB / 290.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.07293, allocations: 87.69 kB / 290.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003875/0.07332, allocations: 0.5235 MB / 291.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.07349, allocations: 84.7 kB / 291.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.07378, allocations: 202 kB / 291.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.07429, allocations: 332.1 kB / 292.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.07429, allocations: 4 kB / 292.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007719/0.07507, allocations: 392.6 kB / 292.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.07509, allocations: 4 kB / 292.4 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.0751, allocations: 4 kB / 292.4 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/0.07557, allocations: 103.9 kB / 292.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.07586, allocations: 67.84 kB / 292.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008902/0.07675, allocations: 0.9364 MB / 293.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.07695, allocations: 12 kB / 293.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.07699, allocations: 16 kB / 293.6 MB, free: 11.96 MB / 282.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 0.0002241/0.07721, allocations: 196.5 kB / 293.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.07731, allocations: 35.86 kB / 293.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008169/0.07813, allocations: 415 kB / 294.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.07814, allocations: 11.97 kB / 294.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.07814, allocations: 0 / 294.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006809/0.07882, allocations: 0.5579 MB / 294.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.08022, allocations: 0.7421 MB / 295.5 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.08023, allocations: 0 / 295.5 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.08038, allocations: 31.98 kB / 295.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005676/0.08095, allocations: 119.5 kB / 295.7 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.08097, allocations: 4 kB / 295.7 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008289/0.0818, allocations: 0.9132 MB / 296.6 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.0818, allocations: 0 / 296.6 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.08278, allocations: 0.5376 MB / 297.1 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.08285, allocations: 23.84 kB / 297.2 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.08291, allocations: 16 kB / 297.2 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.08314, allocations: 8 kB / 297.2 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.08319, allocations: 11.97 kB / 297.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.08323, allocations: 19.98 kB / 297.2 MB, free: 8.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002778/0.08351, allocations: 221.1 kB / 297.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08351, allocations: 0 / 297.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005604/0.08407, allocations: 119.9 kB / 297.5 MB, free: 7.75 MB / 282.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.0003375/0.08441, allocations: 151 kB / 297.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.08507, allocations: 266.2 kB / 297.9 MB, free: 7.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.08507, allocations: 4 kB / 297.9 MB, free: 7.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.0854, allocations: 132.9 kB / 298.1 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.08636, allocations: 156.9 kB / 298.2 MB, free: 7.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.08784, allocations: 0.5963 MB / 298.8 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.08803, allocations: 159.2 kB / 299 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.0883, allocations: 58.88 kB / 299 MB, free: 6.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.08838, allocations: 28.5 kB / 299.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of SimCode: time 1.483e-06/0.08838, allocations: 0 / 299.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of Templates: time 0.01456/0.1029, allocations: 6.43 MB / 305.5 MB, free: 15.77 MB / 298.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2041834209812805]