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.0009901/0.0009901, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001134/0.001134, allocations: 168.2 kB / 25.7 MB, free: 8.434 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.9957/0.9957, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.633e-06/1.633e-06, allocations: 0 / 251.6 MB, free: 7.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.559e-05, allocations: 6.25 kB / 251.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.008926/0.008941, allocations: 9.49 MB / 261.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.01004, allocations: 0.7048 MB / 261.8 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.01015, allocations: 7.938 kB / 261.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.01036, allocations: 95.36 kB / 261.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.01076, allocations: 353.8 kB / 262.3 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.01212, allocations: 0.7402 MB / 263 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007598/0.01288, allocations: 0.9691 MB / 264 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.013, allocations: 74.72 kB / 264.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.01478, allocations: 1.473 MB / 265.5 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.01504, allocations: 235.3 kB / 265.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.01508, allocations: 32 kB / 265.8 MB, free: 8.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.01533, allocations: 179.6 kB / 266 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.0154, allocations: 103.6 kB / 266.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.0155, allocations: 147.7 kB / 266.2 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.01586, allocations: 382.9 kB / 266.6 MB, free: 8.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.01586, allocations: 0 / 266.6 MB, free: 8.148 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01586, allocations: 4 kB / 266.6 MB, free: 8.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.01587, allocations: 0 / 266.6 MB, free: 8.145 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.0004217/0.01629, allocations: 0.5153 MB / 267.1 MB, free: 7.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.52e-05/0.01631, allocations: 15.98 kB / 267.1 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.01656, allocations: 100.4 kB / 267.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.01676, allocations: 205.1 kB / 267.4 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.01678, allocations: 25.03 kB / 267.4 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.01681, allocations: 32.36 kB / 267.5 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.0171, allocations: 491.4 kB / 268 MB, free: 6.637 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.01711, allocations: 4.125 kB / 268 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.01713, allocations: 20.12 kB / 268 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.01714, allocations: 4 kB / 268 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.01724, allocations: 95.3 kB / 268.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/0.01814, allocations: 1.254 MB / 269.3 MB, free: 5.211 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.01826, allocations: 106.5 kB / 269.4 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.0183, allocations: 40.84 kB / 269.5 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.01834, allocations: 23.97 kB / 269.5 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.01836, allocations: 34.56 kB / 269.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.042e-06/0.01836, allocations: 0 / 269.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001388/0.01975, allocations: 0.7053 MB / 270.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.01977, allocations: 59.41 kB / 270.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.01989, allocations: 216.9 kB / 270.5 MB, free: 3.953 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.0199, allocations: 29.7 kB / 270.5 MB, free: 3.918 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.01997, allocations: 180.3 kB / 270.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.02002, allocations: 107.1 kB / 270.8 MB, free: 3.633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.02008, allocations: 73.98 kB / 270.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.02016, allocations: 334.8 kB / 271.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.0202, allocations: 36.73 kB / 271.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.02028, allocations: 126.8 kB / 271.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.02042, allocations: 184 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.02042, allocations: 0 / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002228/0.02065, allocations: 229.8 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.02066, allocations: 4 kB / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.02066, allocations: 4 kB / 271.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.02086, allocations: 77.05 kB / 271.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.02102, allocations: 75.88 kB / 271.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002529/0.02127, allocations: 0.5718 MB / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.02135, allocations: 15.94 kB / 272.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.02137, allocations: 12 kB / 272.5 MB, free: 1.793 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 8.804e-05/0.02146, allocations: 140.5 kB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.0215, allocations: 27.97 kB / 272.7 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.02177, allocations: 268.9 kB / 273 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.02177, allocations: 0 / 273 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.02177, allocations: 11.94 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002157/0.02199, allocations: 461.3 kB / 273.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.02242, allocations: 445.1 kB / 273.9 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02242, allocations: 0 / 273.9 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.02253, allocations: 48.02 kB / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.02277, allocations: 88.7 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.02279, allocations: 11.94 kB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002618/0.02305, allocations: 0.564 MB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02305, allocations: 3.938 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.02334, allocations: 326.1 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.02337, allocations: 27.8 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.02339, allocations: 0 / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.02349, allocations: 8 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.02352, allocations: 27.84 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.02353, allocations: 11.98 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.802e-05/0.02359, allocations: 74.77 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02359, allocations: 0 / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.02383, allocations: 111.9 kB / 275.1 MB, free: 14.96 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.000152/0.02398, allocations: 120.3 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.0242, allocations: 147.7 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.0242, allocations: 4 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.02431, allocations: 94.91 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.02472, allocations: 144.3 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/0.02571, allocations: 0.5721 MB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.504e-05/0.02578, allocations: 96.55 kB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.02594, allocations: 54.89 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.02621, allocations: 169.1 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02622, allocations: 3.938 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Templates: time 0.008514/0.03473, allocations: 6.91 MB / 283.4 MB, free: 6.621 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 -s gbode -gbm=radauIIA3 -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.722038155887276]