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.0009754/0.0009754, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001001/0.001001, allocations: 167.9 kB / 25.7 MB, free: 8.422 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.8804/0.8804, allocations: 158.6 MB / 187.6 MB, free: 2.762 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 1.493e-06/1.493e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.679e-05, allocations: 6.25 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.01233/0.01236, allocations: 9.45 MB / 261 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.01407, allocations: 0.7087 MB / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.01434, allocations: 7.938 kB / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.01482, allocations: 87.42 kB / 261.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008362/0.01565, allocations: 369.7 kB / 262.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.01761, allocations: 0.7442 MB / 262.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.0189, allocations: 0.9691 MB / 263.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.01912, allocations: 74.72 kB / 264 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.02214, allocations: 1.473 MB / 265.5 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.02259, allocations: 235.2 kB / 265.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.02265, allocations: 32 kB / 265.7 MB, free: 9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.02308, allocations: 175.6 kB / 265.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.02321, allocations: 107.6 kB / 266 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.0234, allocations: 147.7 kB / 266.1 MB, free: 8.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.024, allocations: 378.9 kB / 266.5 MB, free: 8.207 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.024, allocations: 4 kB / 266.5 MB, free: 8.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.024, allocations: 0 / 266.5 MB, free: 8.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.02401, allocations: 0 / 266.5 MB, free: 8.203 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007442/0.02475, allocations: 0.5154 MB / 267 MB, free: 7.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.0248, allocations: 15.98 kB / 267 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.02519, allocations: 100.4 kB / 267.1 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.02554, allocations: 213 kB / 267.3 MB, free: 7.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.02556, allocations: 17.03 kB / 267.4 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.02562, allocations: 32.38 kB / 267.4 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.02608, allocations: 491.4 kB / 267.9 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.0261, allocations: 4.125 kB / 267.9 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.02613, allocations: 16.12 kB / 267.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.02614, allocations: 8 kB / 267.9 MB, free: 6.668 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.02631, allocations: 95.3 kB / 268 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.02782, allocations: 1.254 MB / 269.2 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.02802, allocations: 102.4 kB / 269.3 MB, free: 5.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.02809, allocations: 40.78 kB / 269.4 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.02816, allocations: 27.97 kB / 269.4 MB, free: 5.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.02819, allocations: 38.56 kB / 269.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.0282, allocations: 4 kB / 269.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.002069/0.03027, allocations: 0.7015 MB / 270.2 MB, free: 4.301 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.0303, allocations: 55.41 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.0305, allocations: 216.9 kB / 270.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.03053, allocations: 37.7 kB / 270.5 MB, free: 3.969 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.03064, allocations: 176.3 kB / 270.6 MB, free: 3.793 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.868e-05/0.03072, allocations: 107.1 kB / 270.7 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.03083, allocations: 66 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.03094, allocations: 342.8 kB / 271.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.03101, allocations: 36.72 kB / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.03113, allocations: 114.9 kB / 271.3 MB, free: 3.094 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.03135, allocations: 188 kB / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.03136, allocations: 0 / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003694/0.03173, allocations: 229.8 kB / 271.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.03174, allocations: 4 kB / 271.7 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.03175, allocations: 4 kB / 271.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/0.03206, allocations: 81.03 kB / 271.8 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.03226, allocations: 63.91 kB / 271.8 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003926/0.03266, allocations: 0.5679 MB / 272.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.0328, allocations: 15.94 kB / 272.4 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.03283, allocations: 16 kB / 272.4 MB, free: 1.863 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 0.0001232/0.03296, allocations: 132.5 kB / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.03302, allocations: 31.97 kB / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.03344, allocations: 272.8 kB / 272.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.03344, allocations: 0 / 272.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.03344, allocations: 3.938 kB / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003216/0.03376, allocations: 469.3 kB / 273.3 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.03444, allocations: 445.1 kB / 273.8 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.03444, allocations: 0 / 273.8 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.03456, allocations: 36.03 kB / 273.8 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.03491, allocations: 88.7 kB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.03493, allocations: 8 kB / 273.9 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003616/0.03529, allocations: 0.5718 MB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.0353, allocations: 3.938 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.03573, allocations: 322.1 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.03577, allocations: 27.8 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.03581, allocations: 8 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.03597, allocations: 4 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.036, allocations: 19.91 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.03603, allocations: 15.98 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.007e-05/0.03612, allocations: 74.77 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03612, allocations: 0 / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004357/0.03656, allocations: 107.9 kB / 275 MB, free: 15.05 MB / 266.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.0002396/0.0368, allocations: 120.3 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.03712, allocations: 151.6 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.03713, allocations: 4 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.03728, allocations: 90.91 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.03793, allocations: 148.3 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.03919, allocations: 0.5681 MB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.996e-05/0.03927, allocations: 96.55 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.03951, allocations: 54.89 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.0399, allocations: 173.1 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0399, allocations: 0 / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of Templates: time 0.01231/0.05221, allocations: 6.846 MB / 283.3 MB, free: 6.777 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 -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.8616461590863764]