Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001539/0.001539, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 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.00165/0.00165, allocations: 163.5 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 177.2 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1996/0.1996, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.787e-05, allocations: 9.375 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3836/0.3836, allocations: 154.6 MB / 0.5808 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007821/0.3914, allocations: 4.923 MB / 0.5856 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.392, allocations: 27.75 kB / 0.5856 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3931, allocations: 313.8 kB / 0.5859 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.3974, allocations: 1.396 MB / 0.5873 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.4007, allocations: 1.095 MB / 0.5883 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.4033, allocations: 1.879 MB / 0.5902 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006678/0.4039, allocations: 390.1 kB / 0.5905 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.4065, allocations: 1.355 MB / 0.5919 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.4079, allocations: 0.7243 MB / 0.5926 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.408, allocations: 60 kB / 0.5926 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.4094, allocations: 0.5567 MB / 0.5932 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.4097, allocations: 279.1 kB / 0.5934 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.4101, allocations: 291.3 kB / 0.5937 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.4121, allocations: 1.391 MB / 0.5951 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4121, allocations: 4 kB / 0.5951 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4121, allocations: 0 / 0.5951 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4121, allocations: 0 / 0.5951 GB, free: 0.7383 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002308/0.4144, allocations: 1.041 MB / 0.5961 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4144, allocations: 12.03 kB / 0.5961 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.4153, allocations: 131.5 kB / 0.5962 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/0.4162, allocations: 473.4 kB / 0.5967 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.4164, allocations: 163.8 kB / 0.5968 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.4165, allocations: 44 kB / 0.5969 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.418, allocations: 1.144 MB / 0.598 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.4181, allocations: 3.938 kB / 0.598 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.4181, allocations: 24 kB / 0.598 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.948e-05/0.4182, allocations: 36.98 kB / 0.598 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.4193, allocations: 0.6166 MB / 0.5987 GB, free: 12.82 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004493/0.4238, allocations: 3.223 MB / 0.6018 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.4245, allocations: 350.1 kB / 0.6021 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.4248, allocations: 161.3 kB / 0.6023 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.87e-05/0.4249, allocations: 12.27 kB / 0.6023 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4249, allocations: 38.84 kB / 0.6023 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.4249, allocations: 0 / 0.6023 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005859/0.4308, allocations: 1.601 MB / 0.6039 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.4309, allocations: 132.5 kB / 0.604 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.4315, allocations: 0.5338 MB / 0.6045 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.4316, allocations: 37.7 kB / 0.6046 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.4319, allocations: 384.2 kB / 0.6049 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.432, allocations: 142.8 kB / 0.6051 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.4323, allocations: 158.6 kB / 0.6052 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4325, allocations: 370.7 kB / 0.6056 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.4329, allocations: 201.9 kB / 0.6058 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/0.4336, allocations: 0.588 MB / 0.6064 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.4348, allocations: 0.7546 MB / 0.6071 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4348, allocations: 4 kB / 0.6071 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001592/0.4364, allocations: 0.876 MB / 0.608 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4364, allocations: 10.81 kB / 0.608 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4364, allocations: 12 kB / 0.608 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.4378, allocations: 305.1 kB / 0.6083 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.4383, allocations: 127.8 kB / 0.6084 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.4396, allocations: 0.9348 MB / 0.6093 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.4401, allocations: 27.98 kB / 0.6093 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4402, allocations: 64 kB / 0.6094 GB, free: 1.242 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004235/0.4407, allocations: 241.5 kB / 0.6096 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.4408, allocations: 75.45 kB / 0.6097 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.4425, allocations: 0.8666 MB / 0.6105 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4426, allocations: 4 kB / 0.6105 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4426, allocations: 0 / 0.6105 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4426, allocations: 0 / 0.6105 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.4448, allocations: 1.087 MB / 0.6116 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4448, allocations: 4.031 kB / 0.6116 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.4459, allocations: 207.8 kB / 0.6118 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.446, allocations: 28.78 kB / 0.6118 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.446, allocations: 31.86 kB / 0.6119 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.4483, allocations: 2.625 MB / 0.6144 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4483, allocations: 3.938 kB / 0.6144 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.4497, allocations: 0.8106 MB / 0.6152 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.4499, allocations: 111.6 kB / 0.6153 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.45, allocations: 15.94 kB / 0.6153 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.4504, allocations: 15.98 kB / 0.6154 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4505, allocations: 35.95 kB / 0.6154 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.4506, allocations: 43.97 kB / 0.6154 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004665/0.4511, allocations: 358.8 kB / 0.6158 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4511, allocations: 0 / 0.6158 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009504/0.452, allocations: 255.7 kB / 0.616 GB, free: 10.13 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007298/0.4528, allocations: 290 kB / 0.6163 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.454, allocations: 0.5315 MB / 0.6168 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.454, allocations: 3.953 kB / 0.6168 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.4551, allocations: 414.8 kB / 0.6172 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.4566, allocations: 302.3 kB / 0.6175 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.4589, allocations: 1.241 MB / 0.6187 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.4593, allocations: 328.3 kB / 0.619 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001004/0.4603, allocations: 457.4 kB / 0.6195 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.4606, allocations: 104.5 kB / 0.6196 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.4606, allocations: 0 / 0.6196 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of Templates: time 0.02737/0.488, allocations: 15.67 MB / 0.6349 GB, free: 6.984 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.805528614670038]