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.001042/0.001042, allocations: 85.08 kB / 23 MB, free: 1.5 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.001327/0.001327, allocations: 176.7 kB / 26.39 MB, free: 7.965 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.8332/0.8332, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.042e-06/1.042e-06, allocations: 0 / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.47e-05, allocations: 2.312 kB / 252.3 MB, free: 7.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.01319/0.01321, allocations: 9.375 MB / 261.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.01461, allocations: 0.6855 MB / 262.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.01486, allocations: 8 kB / 262.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.01533, allocations: 99.34 kB / 262.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007973/0.01613, allocations: 353.8 kB / 262.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.01794, allocations: 0.752 MB / 263.6 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.01905, allocations: 0.9652 MB / 264.5 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.01925, allocations: 76.73 kB / 264.6 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.02193, allocations: 1.524 MB / 266.1 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.02236, allocations: 251.2 kB / 266.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.02241, allocations: 28 kB / 266.4 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.02271, allocations: 175.6 kB / 266.6 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.863e-05/0.0228, allocations: 103.6 kB / 266.7 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.02291, allocations: 147.7 kB / 266.8 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.02332, allocations: 386.8 kB / 267.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.02332, allocations: 0 / 267.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.02332, allocations: 4 kB / 267.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.02332, allocations: 0 / 267.2 MB, free: 8.223 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.0007286/0.02405, allocations: 0.6478 MB / 267.9 MB, free: 7.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.02409, allocations: 11.98 kB / 267.9 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.02449, allocations: 100.3 kB / 268 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.02484, allocations: 247.8 kB / 268.2 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.02486, allocations: 17.03 kB / 268.2 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.02491, allocations: 28.38 kB / 268.3 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.0254, allocations: 0.5153 MB / 268.8 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.02542, allocations: 192 / 268.8 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.02546, allocations: 16.12 kB / 268.8 MB, free: 6.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.02547, allocations: 8 kB / 268.8 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.02567, allocations: 107.3 kB / 268.9 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.02729, allocations: 1.813 MB / 270.7 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.0275, allocations: 119.2 kB / 270.8 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.535e-05/0.02758, allocations: 51.64 kB / 270.9 MB, free: 4.297 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.904e-05/0.02765, allocations: 19.98 kB / 270.9 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.02768, allocations: 41.39 kB / 270.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.02768, allocations: 4 kB / 270.9 MB, free: 4.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001865/0.02954, allocations: 0.6738 MB / 271.6 MB, free: 3.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.02957, allocations: 63.39 kB / 271.7 MB, free: 3.434 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.02979, allocations: 276.1 kB / 271.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.02982, allocations: 33.7 kB / 272 MB, free: 3.109 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.02995, allocations: 243.1 kB / 272.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.03003, allocations: 107 kB / 272.3 MB, free: 2.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.03014, allocations: 79.69 kB / 272.4 MB, free: 2.676 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.03029, allocations: 0.504 MB / 272.9 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.03037, allocations: 44.59 kB / 272.9 MB, free: 2.117 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.03051, allocations: 154 kB / 273.1 MB, free: 1.922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.03076, allocations: 216.4 kB / 273.3 MB, free: 1.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.03077, allocations: 0 / 273.3 MB, free: 1.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004323/0.0312, allocations: 304.4 kB / 273.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.03122, allocations: 4 kB / 273.6 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.03122, allocations: 4 kB / 273.6 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.03153, allocations: 83.48 kB / 273.7 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.03173, allocations: 63.91 kB / 273.8 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004664/0.0322, allocations: 0.8549 MB / 274.6 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.03234, allocations: 15.97 kB / 274.6 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.03237, allocations: 19.98 kB / 274.6 MB, free: 284 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.0001265/0.0325, allocations: 176.5 kB / 274.8 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.03257, allocations: 35.86 kB / 274.9 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.03306, allocations: 315 kB / 275.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.03306, allocations: 4 kB / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.03307, allocations: 3.938 kB / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003563/0.03342, allocations: 0.4961 MB / 275.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.03421, allocations: 0.5631 MB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.03421, allocations: 4 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.03433, allocations: 39.91 kB / 276.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/0.0347, allocations: 87.61 kB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.03472, allocations: 0 / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004585/0.03518, allocations: 0.8624 MB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.03518, allocations: 4 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.03571, allocations: 407 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.03575, allocations: 23.81 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.03579, allocations: 11.94 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.03597, allocations: 11.98 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.036, allocations: 19.84 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.03603, allocations: 20.05 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.03616, allocations: 193.1 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.03616, allocations: 0 / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.03665, allocations: 107.9 kB / 278 MB, free: 12.67 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.0002486/0.0369, allocations: 143.1 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.03729, allocations: 174.8 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.03729, allocations: 4.062 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.0375, allocations: 96.33 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/0.03827, allocations: 148.4 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.03959, allocations: 0.5688 MB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.988e-05/0.03966, allocations: 92.56 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.0399, allocations: 54.86 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.0403, allocations: 214 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.0403, allocations: 4 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Templates: time 0.01239/0.05269, allocations: 6.957 MB / 286.4 MB, free: 4.203 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.79478343995288]