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.001395/0.001395, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.00147/0.00147, allocations: 179.1 kB / 18.71 MB, free: 4.387 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.524/1.524, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2076/0.2076, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3582, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.203/0.5612, allocations: 175.2 MB / 0.69 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008552/0.5698, allocations: 5.341 MB / 0.6953 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008858/0.5708, allocations: 19.88 kB / 0.6953 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5719, allocations: 314 kB / 0.6956 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.5762, allocations: 1.335 MB / 0.6969 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.5791, allocations: 1.055 MB / 0.6979 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.5815, allocations: 1.856 MB / 0.6997 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.5822, allocations: 461.3 kB / 0.7002 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.5846, allocations: 1.074 MB / 0.7012 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.5862, allocations: 0.7471 MB / 0.7019 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003034/0.5865, allocations: 60 kB / 0.702 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.5886, allocations: 0.6242 MB / 0.7026 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005388/0.5892, allocations: 267.2 kB / 0.7029 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006643/0.5898, allocations: 398.2 kB / 0.7032 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.5921, allocations: 1.293 MB / 0.7045 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5921, allocations: 0 / 0.7045 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5921, allocations: 0 / 0.7045 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.5922, allocations: 0 / 0.7045 GB, free: 13.36 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.002177/0.5943, allocations: 1.098 MB / 0.7056 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5944, allocations: 12.03 kB / 0.7056 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/0.5953, allocations: 143 kB / 0.7057 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000923/0.5962, allocations: 0.5313 MB / 0.7063 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.5963, allocations: 100.4 kB / 0.7063 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5965, allocations: 51.98 kB / 0.7064 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5978, allocations: 0.8214 MB / 0.7072 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.5978, allocations: 0 / 0.7072 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.5979, allocations: 23.94 kB / 0.7072 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-05/0.598, allocations: 40.92 kB / 0.7073 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.599, allocations: 0.6205 MB / 0.7079 GB, free: 9.738 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.004632/0.6037, allocations: 3.965 MB / 0.7117 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.6043, allocations: 362.3 kB / 0.7121 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.6046, allocations: 173.3 kB / 0.7123 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.6047, allocations: 93.36 kB / 0.7123 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.6048, allocations: 38.84 kB / 0.7124 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.396e-06/0.6048, allocations: 3.984 kB / 0.7124 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0056/0.6104, allocations: 1.66 MB / 0.714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.6105, allocations: 132.5 kB / 0.7141 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.6112, allocations: 0.6094 MB / 0.7147 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.6113, allocations: 37.7 kB / 0.7148 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.6116, allocations: 366.8 kB / 0.7151 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.6117, allocations: 146 kB / 0.7152 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.6119, allocations: 158.5 kB / 0.7154 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6121, allocations: 370.8 kB / 0.7158 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.6124, allocations: 205.9 kB / 0.7159 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.613, allocations: 0.5164 MB / 0.7165 GB, free: 376 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3233/0.9363, allocations: 0.7476 MB / 0.7172 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.9364, allocations: 3.094 kB / 0.7172 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001891/0.9383, allocations: 0.8752 MB / 0.718 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.9383, allocations: 13.5 kB / 0.7181 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.9384, allocations: 11.2 kB / 0.7181 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.9398, allocations: 312.2 kB / 0.7184 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.9402, allocations: 127.7 kB / 0.7185 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.9413, allocations: 0.9286 MB / 0.7194 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.9419, allocations: 28.88 kB / 0.7194 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.942, allocations: 71.52 kB / 0.7195 GB, free: 188.8 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.0003413/0.9423, allocations: 244.4 kB / 0.7197 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.9424, allocations: 71.45 kB / 0.7198 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.9441, allocations: 0.857 MB / 0.7206 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.9441, allocations: 7.188 kB / 0.7206 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.9441, allocations: 5.5 kB / 0.7206 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.9441, allocations: 2.062 kB / 0.7206 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.9461, allocations: 1.464 MB / 0.7221 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9462, allocations: 1.688 kB / 0.7221 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.9472, allocations: 212.1 kB / 0.7223 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.549e-05/0.9473, allocations: 32.56 kB / 0.7223 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.9474, allocations: 21.06 kB / 0.7223 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.9489, allocations: 2.874 MB / 0.7251 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.9489, allocations: 2.75 kB / 0.7251 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.9502, allocations: 0.8335 MB / 0.7259 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.9504, allocations: 188.6 kB / 0.7261 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.9505, allocations: 10.06 kB / 0.7261 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.9509, allocations: 24.11 kB / 0.7262 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.9511, allocations: 44.56 kB / 0.7262 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.9511, allocations: 43.23 kB / 0.7262 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005315/0.9517, allocations: 437 kB / 0.7267 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9517, allocations: 0 / 0.7267 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009396/0.9526, allocations: 259.1 kB / 0.7269 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.0007382/0.9534, allocations: 296.2 kB / 0.7272 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.9546, allocations: 0.554 MB / 0.7277 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.9546, allocations: 1.438 kB / 0.7277 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/0.9556, allocations: 427.5 kB / 0.7281 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.9573, allocations: 361.6 kB / 0.7285 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.9594, allocations: 1.328 MB / 0.7298 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.9597, allocations: 0.9304 MB / 0.7307 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000997/0.9607, allocations: 475.7 kB / 0.7311 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.9611, allocations: 112.4 kB / 0.7313 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.9611, allocations: 0 / 0.7313 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02781/0.9889, allocations: 17.57 MB / 0.7484 GB, free: 168.8 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