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.001101/0.001101, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.00125/0.00125, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.953/0.953, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.063e-06/2.063e-06, allocations: 0 / 251.1 MB, free: 7.469 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.882e-05, allocations: 2.312 kB / 251.1 MB, free: 7.465 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.01019/0.01022, allocations: 9.476 MB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.01144, allocations: 0.6816 MB / 261.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.01162, allocations: 7.938 kB / 261.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004085/0.01202, allocations: 99.36 kB / 261.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.01256, allocations: 353.8 kB / 261.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.01401, allocations: 0.7559 MB / 262.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.01513, allocations: 0.9691 MB / 263.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.0153, allocations: 72.75 kB / 263.5 MB, free: 11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.01757, allocations: 1.52 MB / 265 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.01796, allocations: 251.2 kB / 265.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.01801, allocations: 32 kB / 265.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.01833, allocations: 167.7 kB / 265.5 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.01842, allocations: 107.6 kB / 265.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.01856, allocations: 151.7 kB / 265.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.01902, allocations: 374.9 kB / 266.1 MB, free: 8.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01903, allocations: 0 / 266.1 MB, free: 8.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01903, allocations: 4 kB / 266.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.01903, allocations: 0 / 266.1 MB, free: 8.406 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.0006824/0.01972, allocations: 0.6517 MB / 266.7 MB, free: 7.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.01976, allocations: 11.98 kB / 266.7 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.02008, allocations: 100.3 kB / 266.8 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.0204, allocations: 251.8 kB / 267.1 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.02042, allocations: 25.03 kB / 267.1 MB, free: 7.312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.02046, allocations: 28.38 kB / 267.1 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.02088, allocations: 0.5231 MB / 267.7 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.0209, allocations: 192 / 267.7 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.02092, allocations: 20.11 kB / 267.7 MB, free: 6.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.02093, allocations: 8 kB / 267.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.02111, allocations: 134.8 kB / 267.8 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.02252, allocations: 1.84 MB / 269.7 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.02293, allocations: 131.1 kB / 269.8 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.02301, allocations: 59.59 kB / 269.9 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.94e-05/0.02307, allocations: 19.98 kB / 269.9 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.02309, allocations: 41.38 kB / 269.9 MB, free: 4.305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.0231, allocations: 0 / 269.9 MB, free: 4.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001583/0.02468, allocations: 0.7556 MB / 270.7 MB, free: 3.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.0247, allocations: 55.41 kB / 270.7 MB, free: 3.441 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.02489, allocations: 276.2 kB / 271 MB, free: 3.152 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.02491, allocations: 37.7 kB / 271 MB, free: 3.109 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.02501, allocations: 239.1 kB / 271.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.02507, allocations: 103.1 kB / 271.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.02514, allocations: 83.67 kB / 271.4 MB, free: 2.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.02526, allocations: 0.5079 MB / 272 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.02534, allocations: 52.72 kB / 272 MB, free: 2.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.02547, allocations: 165.9 kB / 272.2 MB, free: 1.902 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.0257, allocations: 244.3 kB / 272.4 MB, free: 1.617 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.0257, allocations: 0 / 272.4 MB, free: 1.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003683/0.02607, allocations: 316.6 kB / 272.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.02609, allocations: 4 kB / 272.7 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.0261, allocations: 4 kB / 272.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.02641, allocations: 91.48 kB / 272.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.02658, allocations: 63.91 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004661/0.02704, allocations: 0.8701 MB / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.02714, allocations: 12 kB / 273.8 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.02717, allocations: 20.19 kB / 273.8 MB, free: 204 kB / 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.0001111/0.02728, allocations: 176.5 kB / 273.9 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.02734, allocations: 40 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.02775, allocations: 331 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.02775, allocations: 7.75 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.02775, allocations: 0 / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003524/0.02811, allocations: 0.5078 MB / 274.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006812/0.02879, allocations: 0.6213 MB / 275.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.02879, allocations: 4 kB / 275.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.195e-05/0.02888, allocations: 35.86 kB / 275.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002739/0.02916, allocations: 99.53 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.02917, allocations: 4 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003955/0.02957, allocations: 0.8547 MB / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02957, allocations: 0 / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.03024, allocations: 439 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.03027, allocations: 23.84 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.0303, allocations: 7.938 kB / 276.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.03042, allocations: 8 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.03044, allocations: 19.91 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.03047, allocations: 15.98 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.03059, allocations: 205.2 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03059, allocations: 3.938 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.03091, allocations: 115.9 kB / 277.3 MB, free: 12.45 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.0002273/0.03114, allocations: 127.2 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.0315, allocations: 194.9 kB / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.0315, allocations: 0 / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.03166, allocations: 112.9 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.03215, allocations: 144 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.03327, allocations: 0.5766 MB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.087e-05/0.03333, allocations: 100.5 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.03349, allocations: 58.86 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.03354, allocations: 28.5 kB / 278.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03354, allocations: 0 / 278.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Templates: time 0.008593/0.04214, allocations: 6.225 MB / 284.8 MB, free: 4.867 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: 3.020862821955234]