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.0012/0.0012, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001196/0.001196, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.497/1.497, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2018/0.2018, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3653, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2066/0.5719, allocations: 175.2 MB / 0.6901 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007861/0.5798, allocations: 5.344 MB / 0.6953 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009288/0.5808, allocations: 19.88 kB / 0.6953 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.5823, allocations: 310 kB / 0.6956 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004649/0.5869, allocations: 1.331 MB / 0.6969 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.5902, allocations: 1.063 MB / 0.6979 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.5927, allocations: 1.848 MB / 0.6997 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009378/0.5937, allocations: 461.3 kB / 0.7002 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.5965, allocations: 1.078 MB / 0.7012 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.5984, allocations: 0.7471 MB / 0.702 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.5986, allocations: 60 kB / 0.702 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.6005, allocations: 0.6242 MB / 0.7026 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.601, allocations: 271.2 kB / 0.7029 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007457/0.6017, allocations: 390.2 kB / 0.7032 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.6043, allocations: 1.297 MB / 0.7045 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6043, allocations: 0 / 0.7045 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6043, allocations: 0 / 0.7045 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.273e-05/0.6043, allocations: 0 / 0.7045 GB, free: 13.32 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.002992/0.6073, allocations: 1.098 MB / 0.7056 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6074, allocations: 12.03 kB / 0.7056 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009645/0.6084, allocations: 139 kB / 0.7057 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.6097, allocations: 0.5313 MB / 0.7063 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.6099, allocations: 100.4 kB / 0.7063 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.61, allocations: 51.98 kB / 0.7064 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.612, allocations: 0.8174 MB / 0.7072 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.612, allocations: 4 kB / 0.7072 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.6121, allocations: 27.94 kB / 0.7072 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.388e-05/0.6122, allocations: 36.98 kB / 0.7073 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.6137, allocations: 0.6204 MB / 0.7079 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.005968/0.6197, allocations: 3.961 MB / 0.7117 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.6204, allocations: 367.5 kB / 0.7121 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.6207, allocations: 165.3 kB / 0.7122 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.6209, allocations: 101.4 kB / 0.7123 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.6209, allocations: 34.84 kB / 0.7124 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.495e-06/0.6209, allocations: 7.938 kB / 0.7124 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006147/0.6271, allocations: 1.66 MB / 0.714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/0.6272, allocations: 132.5 kB / 0.7141 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.6281, allocations: 0.6133 MB / 0.7147 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/0.6282, allocations: 37.64 kB / 0.7148 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.6285, allocations: 370.8 kB / 0.7151 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.6286, allocations: 142.1 kB / 0.7153 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.6289, allocations: 154.5 kB / 0.7154 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.6291, allocations: 374.8 kB / 0.7158 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.6295, allocations: 205.9 kB / 0.716 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.6301, allocations: 0.5125 MB / 0.7165 GB, free: 340 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.318/0.9481, allocations: 0.7461 MB / 0.7172 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.9482, allocations: 3.125 kB / 0.7172 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002035/0.9502, allocations: 0.8787 MB / 0.718 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.9503, allocations: 12.75 kB / 0.7181 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.9503, allocations: 10.25 kB / 0.7181 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.9517, allocations: 316.5 kB / 0.7184 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.9522, allocations: 120.9 kB / 0.7185 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.9532, allocations: 0.9363 MB / 0.7194 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.9538, allocations: 28.17 kB / 0.7194 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/0.9539, allocations: 70.09 kB / 0.7195 GB, free: 188.6 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.000343/0.9542, allocations: 240.9 kB / 0.7197 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.9544, allocations: 70.66 kB / 0.7198 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.956, allocations: 0.863 MB / 0.7206 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.956, allocations: 4.031 kB / 0.7206 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.956, allocations: 1.625 kB / 0.7206 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.956, allocations: 2.25 kB / 0.7206 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.958, allocations: 1.469 MB / 0.7221 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.958, allocations: 8.172 kB / 0.7221 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.959, allocations: 209 kB / 0.7223 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-05/0.9592, allocations: 28.33 kB / 0.7223 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.9592, allocations: 21.31 kB / 0.7223 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.9608, allocations: 2.882 MB / 0.7251 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9609, allocations: 2.75 kB / 0.7251 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.9623, allocations: 0.8202 MB / 0.7259 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.9627, allocations: 193.1 kB / 0.7261 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.9628, allocations: 9.422 kB / 0.7261 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.9632, allocations: 19.67 kB / 0.7262 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.9634, allocations: 36.89 kB / 0.7262 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/0.9635, allocations: 42.84 kB / 0.7262 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007698/0.9643, allocations: 442.5 kB / 0.7267 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9643, allocations: 0 / 0.7267 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001299/0.9656, allocations: 256.8 kB / 0.7269 GB, free: 183.5 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.0007901/0.9664, allocations: 306.9 kB / 0.7272 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.9677, allocations: 0.552 MB / 0.7277 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9677, allocations: 5.094 kB / 0.7277 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.9687, allocations: 419.5 kB / 0.7281 GB, free: 183 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.9705, allocations: 362.8 kB / 0.7285 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.9726, allocations: 1.331 MB / 0.7298 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.973, allocations: 0.9282 MB / 0.7307 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00101/0.974, allocations: 473.3 kB / 0.7311 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.9743, allocations: 107.8 kB / 0.7312 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.9743, allocations: 3.281 kB / 0.7312 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.03137/1.006, allocations: 17.79 MB / 0.7486 GB, free: 168.6 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/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) Reference file matches