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.001106/0.001106, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001083/0.001083, allocations: 183 kB / 18.72 MB, free: 4.336 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.27/1.27, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1942/0.1942, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3314, allocations: 60.82 MB / 0.5189 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1889/0.5203, allocations: 175.2 MB / 0.6901 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006955/0.5273, allocations: 5.333 MB / 0.6953 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/0.528, allocations: 23.88 kB / 0.6953 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008833/0.5289, allocations: 313.9 kB / 0.6956 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.5324, allocations: 1.337 MB / 0.6969 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.5354, allocations: 1.059 MB / 0.6979 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.5379, allocations: 1.848 MB / 0.6997 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005948/0.5385, allocations: 465.3 kB / 0.7002 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.5406, allocations: 1.07 MB / 0.7012 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.5417, allocations: 0.7393 MB / 0.7019 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.5419, allocations: 60 kB / 0.702 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.5433, allocations: 0.6242 MB / 0.7026 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.5436, allocations: 271.2 kB / 0.7029 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.544, allocations: 402.1 kB / 0.7032 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.5456, allocations: 1.304 MB / 0.7045 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5457, allocations: 0 / 0.7045 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5457, allocations: 0 / 0.7045 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.5457, allocations: 0 / 0.7045 GB, free: 13.26 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.002156/0.5478, allocations: 1.123 MB / 0.7056 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5479, allocations: 8.031 kB / 0.7056 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007996/0.5487, allocations: 139.4 kB / 0.7058 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/0.5495, allocations: 0.5435 MB / 0.7063 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/0.5496, allocations: 100.4 kB / 0.7064 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/0.5497, allocations: 51.98 kB / 0.7064 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.5508, allocations: 0.8136 MB / 0.7072 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.5509, allocations: 11.92 kB / 0.7072 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.551, allocations: 23.94 kB / 0.7073 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/0.551, allocations: 36.98 kB / 0.7073 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009609/0.552, allocations: 0.6205 MB / 0.7079 GB, free: 9.613 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.00397/0.556, allocations: 3.966 MB / 0.7118 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.5565, allocations: 359.6 kB / 0.7121 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.5568, allocations: 165.3 kB / 0.7123 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.5569, allocations: 97.36 kB / 0.7124 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.557, allocations: 38.84 kB / 0.7124 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.557, allocations: 0 / 0.7124 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005144/0.5621, allocations: 1.681 MB / 0.714 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.5622, allocations: 136.5 kB / 0.7142 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.5629, allocations: 0.6134 MB / 0.7148 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.5629, allocations: 33.7 kB / 0.7148 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.5632, allocations: 367.8 kB / 0.7152 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.5634, allocations: 154.7 kB / 0.7153 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.5636, allocations: 158.6 kB / 0.7155 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5638, allocations: 378.8 kB / 0.7158 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.5641, allocations: 205.9 kB / 0.716 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.5647, allocations: 0.5124 MB / 0.7165 GB, free: 220 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2841/0.8489, allocations: 0.7463 MB / 0.7172 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.8489, allocations: 2.969 kB / 0.7172 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001788/0.8507, allocations: 0.8876 MB / 0.7181 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.8507, allocations: 17.56 kB / 0.7181 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.8507, allocations: 10.53 kB / 0.7181 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.8521, allocations: 312.7 kB / 0.7184 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.8525, allocations: 123.6 kB / 0.7186 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.8536, allocations: 0.9348 MB / 0.7195 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.8541, allocations: 25.44 kB / 0.7195 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.8542, allocations: 67.55 kB / 0.7196 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.0003844/0.8546, allocations: 243.6 kB / 0.7198 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.8547, allocations: 74.12 kB / 0.7199 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.8565, allocations: 0.8674 MB / 0.7207 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8565, allocations: 6.688 kB / 0.7207 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8565, allocations: 0 / 0.7207 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.8565, allocations: 2.109 kB / 0.7207 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.8584, allocations: 1.459 MB / 0.7221 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8584, allocations: 1.562 kB / 0.7221 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.8594, allocations: 213.1 kB / 0.7223 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.391e-05/0.8595, allocations: 28.58 kB / 0.7224 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.8596, allocations: 24.03 kB / 0.7224 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.8611, allocations: 2.88 MB / 0.7252 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.8611, allocations: 3.547 kB / 0.7252 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.8622, allocations: 0.8251 MB / 0.726 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.8625, allocations: 191.1 kB / 0.7262 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.8626, allocations: 12.47 kB / 0.7262 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.8629, allocations: 19.7 kB / 0.7262 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.8631, allocations: 47.31 kB / 0.7263 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.8631, allocations: 44.94 kB / 0.7263 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005348/0.8637, allocations: 436.8 kB / 0.7267 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8637, allocations: 0 / 0.7267 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009459/0.8646, allocations: 261.9 kB / 0.727 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.0007212/0.8654, allocations: 306.9 kB / 0.7273 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.8665, allocations: 0.5453 MB / 0.7278 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8665, allocations: 1.281 kB / 0.7278 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009152/0.8674, allocations: 428 kB / 0.7282 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.8689, allocations: 352 kB / 0.7286 GB, free: 183 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.8709, allocations: 1.34 MB / 0.7299 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.8713, allocations: 0.9372 MB / 0.7308 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000967/0.8722, allocations: 464.7 kB / 0.7312 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.8726, allocations: 115.7 kB / 0.7313 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.8726, allocations: 3.609 kB / 0.7313 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.02198/0.8946, allocations: 17.58 MB / 0.7485 GB, free: 168.7 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