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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 112.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 185.2 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1955/0.1955, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2922, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1766/0.4688, allocations: 175.2 MB / 0.6907 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00698/0.4759, allocations: 5.344 MB / 0.6959 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006838/0.4766, allocations: 19.88 kB / 0.6959 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009374/0.4776, allocations: 314 kB / 0.6962 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.481, allocations: 1.339 MB / 0.6975 GB, free: 5.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.4836, allocations: 1.055 MB / 0.6986 GB, free: 4.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.4858, allocations: 1.856 MB / 0.7004 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007482/0.4866, allocations: 457.3 kB / 0.7008 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.4889, allocations: 1.07 MB / 0.7019 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.4902, allocations: 0.7511 MB / 0.7026 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.4903, allocations: 60 kB / 0.7027 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.4916, allocations: 0.6202 MB / 0.7033 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.4919, allocations: 263.2 kB / 0.7035 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.4923, allocations: 402.2 kB / 0.7039 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.4939, allocations: 1.301 MB / 0.7052 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4939, allocations: 3.938 kB / 0.7052 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4939, allocations: 0 / 0.7052 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4939, allocations: 0 / 0.7052 GB, free: 13.33 MB / 0.5606 GB 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.002103/0.496, allocations: 1.095 MB / 0.7062 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4961, allocations: 8.031 kB / 0.7063 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.4969, allocations: 143 kB / 0.7064 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.4977, allocations: 0.5313 MB / 0.7069 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.4978, allocations: 104.4 kB / 0.707 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-05/0.4979, allocations: 51.98 kB / 0.7071 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4991, allocations: 0.8096 MB / 0.7079 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.4992, allocations: 4 kB / 0.7079 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.4993, allocations: 39.92 kB / 0.7079 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.4993, allocations: 40.97 kB / 0.7079 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009748/0.5003, allocations: 0.6204 MB / 0.7085 GB, free: 9.707 MB / 0.5606 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.004208/0.5045, allocations: 3.957 MB / 0.7124 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.5051, allocations: 355.5 kB / 0.7127 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.5054, allocations: 173.3 kB / 0.7129 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.5055, allocations: 93.38 kB / 0.713 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5056, allocations: 42.78 kB / 0.713 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.474e-06/0.5056, allocations: 0 / 0.713 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005508/0.5111, allocations: 1.66 MB / 0.7147 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.5112, allocations: 144.4 kB / 0.7148 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.5119, allocations: 0.6094 MB / 0.7154 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.5119, allocations: 37.7 kB / 0.7154 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.5122, allocations: 366.8 kB / 0.7158 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.5123, allocations: 138.1 kB / 0.7159 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.5125, allocations: 154.5 kB / 0.7161 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5127, allocations: 374.8 kB / 0.7164 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.513, allocations: 205.9 kB / 0.7166 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.5136, allocations: 0.5242 MB / 0.7171 GB, free: 344 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2357/0.7493, allocations: 0.7458 MB / 0.7178 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.7494, allocations: 3.188 kB / 0.7179 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00218/0.7516, allocations: 0.8778 MB / 0.7187 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.7516, allocations: 13.69 kB / 0.7187 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.7516, allocations: 10.84 kB / 0.7187 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.7531, allocations: 308.7 kB / 0.719 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.7535, allocations: 128.7 kB / 0.7191 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.7546, allocations: 0.9287 MB / 0.7201 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.7552, allocations: 29.09 kB / 0.7201 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.7553, allocations: 64.58 kB / 0.7201 GB, free: 188.9 MB / 0.5606 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.0003953/0.7557, allocations: 252.4 kB / 0.7204 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.7559, allocations: 70.41 kB / 0.7205 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.7575, allocations: 0.8602 MB / 0.7213 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.7575, allocations: 4.188 kB / 0.7213 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7575, allocations: 1.312 kB / 0.7213 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.7576, allocations: 2.203 kB / 0.7213 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.7596, allocations: 1.461 MB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.7596, allocations: 3.375 kB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.7606, allocations: 207.6 kB / 0.7229 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.672e-05/0.7608, allocations: 32.88 kB / 0.723 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.7608, allocations: 19.55 kB / 0.723 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.7623, allocations: 2.879 MB / 0.7258 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7623, allocations: 1.875 kB / 0.7258 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.7635, allocations: 0.8255 MB / 0.7266 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.7638, allocations: 194.2 kB / 0.7268 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7639, allocations: 9.484 kB / 0.7268 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.7643, allocations: 18.69 kB / 0.7268 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.7644, allocations: 41.33 kB / 0.7268 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.7645, allocations: 43.25 kB / 0.7269 GB, free: 184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000514/0.765, allocations: 445 kB / 0.7273 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.765, allocations: 3.438 kB / 0.7273 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008961/0.7659, allocations: 257.4 kB / 0.7276 GB, free: 183.7 MB / 0.5606 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.0007227/0.7666, allocations: 304.8 kB / 0.7279 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.7678, allocations: 0.5581 MB / 0.7284 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.7678, allocations: 0.9688 kB / 0.7284 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009074/0.7688, allocations: 410.6 kB / 0.7288 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.7704, allocations: 361.3 kB / 0.7291 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.7723, allocations: 1.374 MB / 0.7305 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.7727, allocations: 0.9244 MB / 0.7314 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.773, allocations: 127.4 kB / 0.7315 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.773, allocations: 7.938 kB / 0.7315 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02029/0.7933, allocations: 16.55 MB / 0.7477 GB, free: 170.3 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches