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.001508/0.001508, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001886/0.001886, allocations: 166.9 kB / 25.61 MB, free: 8.91 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 1.007/1.007, allocations: 158.6 MB / 187.5 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 2.124e-06/2.124e-06, allocations: 0 / 251.5 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.019e-05, allocations: 2.312 kB / 251.5 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.01025/0.01028, allocations: 9.379 MB / 260.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.01144, allocations: 0.6817 MB / 261.6 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.01164, allocations: 7.938 kB / 261.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.01205, allocations: 95.36 kB / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.01258, allocations: 357.8 kB / 262 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.01406, allocations: 0.7598 MB / 262.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000864/0.01493, allocations: 0.9653 MB / 263.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.01511, allocations: 76.69 kB / 263.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.01729, allocations: 1.52 MB / 265.3 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.01762, allocations: 255.2 kB / 265.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.01767, allocations: 28 kB / 265.6 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.01799, allocations: 175.7 kB / 265.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.01808, allocations: 103.6 kB / 265.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.01819, allocations: 147.7 kB / 266 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.01867, allocations: 382.8 kB / 266.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.01868, allocations: 0 / 266.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01868, allocations: 0 / 266.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.01868, allocations: 0 / 266.4 MB, free: 8.23 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.0006451/0.01933, allocations: 0.6556 MB / 267.1 MB, free: 7.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01937, allocations: 11.98 kB / 267.1 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.01964, allocations: 100.3 kB / 267.2 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.01991, allocations: 243.8 kB / 267.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.01993, allocations: 17.03 kB / 267.4 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.01997, allocations: 32.38 kB / 267.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.02032, allocations: 0.5153 MB / 268 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.02033, allocations: 4.188 kB / 268 MB, free: 6.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.02035, allocations: 16.12 kB / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.02036, allocations: 4 kB / 268 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.02048, allocations: 107.3 kB / 268.1 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.02174, allocations: 1.817 MB / 269.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.0219, allocations: 119 kB / 270 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.02196, allocations: 59.81 kB / 270.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.02201, allocations: 23.92 kB / 270.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.02204, allocations: 37.39 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 2.435e-06/0.02204, allocations: 0 / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001377/0.02342, allocations: 0.7008 MB / 270.9 MB, free: 3.473 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.02344, allocations: 55.34 kB / 270.9 MB, free: 3.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.02359, allocations: 292 kB / 271.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.02362, allocations: 37.7 kB / 271.2 MB, free: 3.062 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.02372, allocations: 235.1 kB / 271.5 MB, free: 2.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.02377, allocations: 107 kB / 271.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.02385, allocations: 79.69 kB / 271.7 MB, free: 2.637 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.02397, allocations: 0.504 MB / 272.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.02402, allocations: 40.7 kB / 272.2 MB, free: 2.082 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.02412, allocations: 154 kB / 272.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.0243, allocations: 216.3 kB / 272.6 MB, free: 1.629 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.0243, allocations: 4 kB / 272.6 MB, free: 1.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003551/0.02466, allocations: 324.3 kB / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.02468, allocations: 8 kB / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.02468, allocations: 4 kB / 272.9 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.02492, allocations: 83.53 kB / 273 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.02505, allocations: 67.91 kB / 273 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003688/0.02542, allocations: 0.8665 MB / 273.9 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.02551, allocations: 8 kB / 273.9 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.02553, allocations: 16 kB / 273.9 MB, free: 216 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.0001087/0.02564, allocations: 180.4 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.0257, allocations: 35.91 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.02611, allocations: 330.8 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.02611, allocations: 7.984 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.02611, allocations: 4.031 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003404/0.02645, allocations: 0.5194 MB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.02705, allocations: 0.5788 MB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.02705, allocations: 0 / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.02713, allocations: 35.98 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000312/0.02744, allocations: 99.59 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.02745, allocations: 4 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003929/0.02785, allocations: 0.8623 MB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.02785, allocations: 4 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.02823, allocations: 423 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.02826, allocations: 27.69 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.02829, allocations: 8 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.02838, allocations: 8 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.02841, allocations: 11.97 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.02843, allocations: 19.98 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.028e-05/0.02852, allocations: 193.2 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02852, allocations: 0 / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.02883, allocations: 111.9 kB / 277.4 MB, free: 12.53 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.0002071/0.02904, allocations: 131.2 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.0293, allocations: 170.2 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.0293, allocations: 0.625 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.02942, allocations: 105 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.02988, allocations: 156.3 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.03079, allocations: 0.5649 MB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.03085, allocations: 96.56 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.031, allocations: 58.88 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.03127, allocations: 210 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03127, allocations: 3.938 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Templates: time 0.008704/0.03998, allocations: 6.861 MB / 285.7 MB, free: 4.148 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.7674958370625973]