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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001992/0.001992, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2815/0.2815, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3545, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2038/0.5583, allocations: 175.2 MB / 0.6896 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007919/0.5663, allocations: 5.344 MB / 0.6948 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.5669, allocations: 23.81 kB / 0.6948 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.5678, allocations: 310 kB / 0.6951 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.572, allocations: 1.333 MB / 0.6964 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.5752, allocations: 1.063 MB / 0.6974 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.5779, allocations: 1.848 MB / 0.6993 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006816/0.5786, allocations: 461.3 kB / 0.6997 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.5811, allocations: 1.07 MB / 0.7007 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.5824, allocations: 0.7433 MB / 0.7015 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.5826, allocations: 60 kB / 0.7015 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.5841, allocations: 0.6277 MB / 0.7021 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.5844, allocations: 267.3 kB / 0.7024 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004845/0.5849, allocations: 398.2 kB / 0.7028 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.5871, allocations: 1.3 MB / 0.704 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.5871, allocations: 4 kB / 0.704 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5871, allocations: 0 / 0.704 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.5871, allocations: 0 / 0.704 GB, free: 13.35 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.002574/0.5897, allocations: 1.128 MB / 0.7051 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5898, allocations: 8.031 kB / 0.7052 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.5899, allocations: 94.52 kB / 0.7052 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/0.5907, allocations: 147.4 kB / 0.7054 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009211/0.5917, allocations: 0.5279 MB / 0.7059 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.5918, allocations: 104.4 kB / 0.706 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.5919, allocations: 47.98 kB / 0.706 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.5932, allocations: 0.8174 MB / 0.7068 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.5933, allocations: 7.938 kB / 0.7069 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.5934, allocations: 24 kB / 0.7069 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-05/0.5934, allocations: 36.98 kB / 0.7069 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.5945, allocations: 0.6243 MB / 0.7075 GB, free: 9.602 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.004823/0.5994, allocations: 3.966 MB / 0.7114 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.6, allocations: 359.6 kB / 0.7117 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.6003, allocations: 169.3 kB / 0.7119 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.6005, allocations: 97.36 kB / 0.712 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.6005, allocations: 34.84 kB / 0.712 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.6005, allocations: 3.938 kB / 0.712 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005598/0.6061, allocations: 1.677 MB / 0.7137 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.6062, allocations: 136.5 kB / 0.7138 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.607, allocations: 0.6172 MB / 0.7144 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.6071, allocations: 41.64 kB / 0.7144 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.6074, allocations: 371.9 kB / 0.7148 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.6075, allocations: 142.8 kB / 0.7149 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.6077, allocations: 166.6 kB / 0.7151 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.6079, allocations: 370.8 kB / 0.7154 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.6083, allocations: 205.9 kB / 0.7156 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.609, allocations: 0.5125 MB / 0.7161 GB, free: 204 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2377/0.8467, allocations: 0.7443 MB / 0.7169 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.8467, allocations: 2.594 kB / 0.7169 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001792/0.8485, allocations: 0.8938 MB / 0.7177 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.8486, allocations: 13.81 kB / 0.7178 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.8486, allocations: 9.062 kB / 0.7178 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.85, allocations: 305.4 kB / 0.7181 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.8504, allocations: 123.7 kB / 0.7182 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009681/0.8514, allocations: 0.9371 MB / 0.7191 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.8519, allocations: 24.7 kB / 0.7191 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.852, allocations: 71.55 kB / 0.7192 GB, free: 188.2 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.0003136/0.8523, allocations: 237.7 kB / 0.7194 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.8524, allocations: 75.31 kB / 0.7195 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.854, allocations: 0.8647 MB / 0.7203 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.854, allocations: 5.062 kB / 0.7203 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.854, allocations: 1.406 kB / 0.7203 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.854, allocations: 5.438 kB / 0.7203 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.8559, allocations: 1.465 MB / 0.7218 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8559, allocations: 1.469 kB / 0.7218 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.8569, allocations: 214.9 kB / 0.722 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.269e-05/0.8571, allocations: 28.03 kB / 0.722 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.8571, allocations: 26.3 kB / 0.722 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.8585, allocations: 2.874 MB / 0.7248 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8585, allocations: 5.938 kB / 0.7248 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.8597, allocations: 0.8262 MB / 0.7256 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.8599, allocations: 189.3 kB / 0.7258 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.86, allocations: 10.2 kB / 0.7258 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.8604, allocations: 19.16 kB / 0.7258 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.8605, allocations: 39.08 kB / 0.7259 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.8606, allocations: 44.62 kB / 0.7259 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004914/0.8611, allocations: 442.2 kB / 0.7263 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8611, allocations: 0 / 0.7263 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008618/0.8619, allocations: 257.2 kB / 0.7266 GB, free: 183.1 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.00198/0.8639, allocations: 1.561 MB / 0.7281 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.8652, allocations: 0.5546 MB / 0.7287 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8652, allocations: 1.125 kB / 0.7287 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009762/0.8662, allocations: 422.2 kB / 0.7291 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.8678, allocations: 375.4 kB / 0.7294 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/0.8753, allocations: 6.328 MB / 0.7356 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.8757, allocations: 0.9304 MB / 0.7365 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001122/0.8769, allocations: 466.3 kB / 0.737 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.8773, allocations: 284 kB / 0.7372 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.8773, allocations: 1.375 kB / 0.7372 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/0.9265, allocations: 24.4 MB / 0.7611 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.12, allocations: 12.25 kB / 0.7611 GB, free: 155.1 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > 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.csv","/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