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.001248/0.001248, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001037/0.001037, allocations: 167.9 kB / 25.75 MB, free: 8.922 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.9353/0.9353, allocations: 158.6 MB / 187.5 MB, free: 2.941 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.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 2.595e-06/2.595e-06, allocations: 0 / 251.2 MB, free: 7.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.549e-05, allocations: 2.312 kB / 251.2 MB, free: 7.742 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.03148/0.03151, allocations: 25 MB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.03561, allocations: 2.519 MB / 278.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.03585, allocations: 11.94 kB / 278.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006474/0.0365, allocations: 158.9 kB / 278.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.03726, allocations: 345.8 kB / 279.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.04001, allocations: 1.067 MB / 280.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.04116, allocations: 0.8988 MB / 281.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.04137, allocations: 72.75 kB / 281.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005282/0.04665, allocations: 3.246 MB / 284.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.04713, allocations: 247.2 kB / 284.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.0472, allocations: 35.98 kB / 284.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006284/0.04783, allocations: 259.4 kB / 285 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.04794, allocations: 107.6 kB / 285.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.04813, allocations: 147.7 kB / 285.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.04907, allocations: 430.7 kB / 285.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.04907, allocations: 0 / 285.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.04907, allocations: 0 / 285.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.04908, allocations: 4 kB / 285.7 MB, free: 5.105 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.0008638/0.04994, allocations: 0.6552 MB / 286.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.04999, allocations: 15.98 kB / 286.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/0.05047, allocations: 96.31 kB / 286.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.05087, allocations: 252 kB / 286.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.05089, allocations: 17.03 kB / 286.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.05095, allocations: 28.38 kB / 286.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.05152, allocations: 0.527 MB / 287.3 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.05154, allocations: 8.141 kB / 287.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.05158, allocations: 16.12 kB / 287.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.05159, allocations: 4 kB / 287.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.05186, allocations: 138.8 kB / 287.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.0537, allocations: 1.844 MB / 289.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.054, allocations: 131 kB / 289.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.05411, allocations: 55.66 kB / 289.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/0.0542, allocations: 19.98 kB / 289.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.05423, allocations: 45.39 kB / 289.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 3.006e-06/0.05423, allocations: 0 / 289.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.002413/0.05665, allocations: 0.7475 MB / 290.3 MB, free: 208 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.05668, allocations: 55.41 kB / 290.3 MB, free: 140 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.05697, allocations: 288.2 kB / 290.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.057, allocations: 33.7 kB / 290.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.05714, allocations: 239.3 kB / 290.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/0.05722, allocations: 107.1 kB / 291 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.05733, allocations: 75.69 kB / 291 MB, free: 15.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.05749, allocations: 0.5079 MB / 291.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.05762, allocations: 52.64 kB / 291.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.05785, allocations: 162 kB / 291.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.05809, allocations: 248.2 kB / 292 MB, free: 14.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.0581, allocations: 4 kB / 292 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003715/0.05847, allocations: 308.6 kB / 292.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.05849, allocations: 8 kB / 292.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.05849, allocations: 0 / 292.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.05878, allocations: 87.55 kB / 292.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.05894, allocations: 64.22 kB / 292.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004089/0.05934, allocations: 0.8663 MB / 293.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.05943, allocations: 12 kB / 293.3 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.05946, allocations: 23.98 kB / 293.4 MB, free: 12.9 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.0001042/0.05956, allocations: 176.5 kB / 293.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.05961, allocations: 39.81 kB / 293.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.06002, allocations: 323 kB / 293.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.06002, allocations: 7.938 kB / 293.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.06002, allocations: 0 / 293.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003044/0.06033, allocations: 0.5195 MB / 294.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.06101, allocations: 0.6174 MB / 295 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.06101, allocations: 0 / 295 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.0611, allocations: 39.91 kB / 295.1 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002855/0.06139, allocations: 91.53 kB / 295.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.0614, allocations: 16.05 kB / 295.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003499/0.06175, allocations: 0.8546 MB / 296 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.06176, allocations: 3.938 kB / 296 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.06218, allocations: 442.5 kB / 296.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.06221, allocations: 27.84 kB / 296.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.06224, allocations: 11.94 kB / 296.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.06235, allocations: 8.062 kB / 296.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.06238, allocations: 23.89 kB / 296.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.0624, allocations: 23.98 kB / 296.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.06251, allocations: 193.1 kB / 296.8 MB, free: 9.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06251, allocations: 0 / 296.8 MB, free: 9.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.06282, allocations: 115.9 kB / 296.9 MB, free: 9.141 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.0002205/0.06304, allocations: 135.1 kB / 297 MB, free: 9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.06337, allocations: 194.6 kB / 297.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.06338, allocations: 0 / 297.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.06352, allocations: 113 kB / 297.3 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.06404, allocations: 148.6 kB / 297.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.06509, allocations: 0.5728 MB / 298 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.33e-05/0.06514, allocations: 92.56 kB / 298.1 MB, free: 7.828 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.0653, allocations: 58.88 kB / 298.2 MB, free: 7.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.06535, allocations: 32.5 kB / 298.2 MB, free: 7.738 MB / 282.7 MB Notification: Performance of SimCode: time 1.041e-06/0.06535, allocations: 3.938 kB / 298.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of Templates: time 0.00804/0.07339, allocations: 6.431 MB / 304.6 MB, free: 1.34 MB / 282.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","",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.916969937970862]