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.001566/0.001567, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.002515/0.002515, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.425/1.425, allocations: 222.9 MB / 242.4 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.2164/0.2164, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3837, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1917/0.5754, allocations: 175.2 MB / 0.6896 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00789/0.5833, allocations: 5.341 MB / 0.6948 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008739/0.5842, allocations: 19.88 kB / 0.6948 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.5855, allocations: 317.9 kB / 0.6951 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.5896, allocations: 1.352 MB / 0.6964 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.5927, allocations: 1.059 MB / 0.6975 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.5955, allocations: 1.852 MB / 0.6993 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009708/0.5965, allocations: 453.4 kB / 0.6997 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.5993, allocations: 1.094 MB / 0.7008 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.6012, allocations: 0.7434 MB / 0.7015 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.6014, allocations: 67.94 kB / 0.7016 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.6032, allocations: 0.6241 MB / 0.7022 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.6037, allocations: 267.3 kB / 0.7024 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007069/0.6044, allocations: 394.2 kB / 0.7028 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.6066, allocations: 1.304 MB / 0.7041 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6067, allocations: 0 / 0.7041 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6067, allocations: 0 / 0.7041 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.741e-05/0.6067, allocations: 0 / 0.7041 GB, free: 13.34 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.002909/0.6096, allocations: 1.125 MB / 0.7052 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6097, allocations: 8.031 kB / 0.7052 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.6099, allocations: 98.45 kB / 0.7053 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.6108, allocations: 151.4 kB / 0.7054 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009267/0.6117, allocations: 0.5318 MB / 0.7059 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.6118, allocations: 100.4 kB / 0.706 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.667e-05/0.6119, allocations: 48 kB / 0.7061 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.6131, allocations: 0.8175 MB / 0.7069 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.6132, allocations: 7.875 kB / 0.7069 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.6132, allocations: 31.98 kB / 0.7069 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.6133, allocations: 32.98 kB / 0.707 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.6143, allocations: 0.6283 MB / 0.7076 GB, free: 9.578 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.004254/0.6186, allocations: 3.962 MB / 0.7114 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.6192, allocations: 363.6 kB / 0.7118 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.6194, allocations: 165.3 kB / 0.7119 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.6195, allocations: 89.38 kB / 0.712 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.6196, allocations: 38.84 kB / 0.7121 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.6196, allocations: 0 / 0.7121 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005359/0.625, allocations: 1.681 MB / 0.7137 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.625, allocations: 132.5 kB / 0.7138 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.6257, allocations: 0.6211 MB / 0.7144 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.6257, allocations: 29.7 kB / 0.7145 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.626, allocations: 371.9 kB / 0.7148 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.6261, allocations: 154.7 kB / 0.715 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.6263, allocations: 158.6 kB / 0.7151 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6265, allocations: 374.8 kB / 0.7155 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.6268, allocations: 201.9 kB / 0.7157 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.6273, allocations: 0.5202 MB / 0.7162 GB, free: 188 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2502/0.8775, allocations: 0.7458 MB / 0.7169 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.8776, allocations: 4.875 kB / 0.7169 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001829/0.8794, allocations: 0.8874 MB / 0.7178 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.8795, allocations: 13.03 kB / 0.7178 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.8795, allocations: 10.56 kB / 0.7178 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.8809, allocations: 311.6 kB / 0.7181 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.8813, allocations: 123.2 kB / 0.7182 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.8823, allocations: 0.9339 MB / 0.7191 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.8828, allocations: 29.78 kB / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.824e-05/0.8829, allocations: 70.58 kB / 0.7192 GB, free: 188.4 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.000308/0.8832, allocations: 239.4 kB / 0.7194 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.8834, allocations: 72.02 kB / 0.7195 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.885, allocations: 0.8658 MB / 0.7204 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.885, allocations: 5.062 kB / 0.7204 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.885, allocations: 3.438 kB / 0.7204 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.885, allocations: 2.156 kB / 0.7204 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.887, allocations: 1.465 MB / 0.7218 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.887, allocations: 1.5 kB / 0.7218 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.888, allocations: 212.3 kB / 0.722 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-05/0.8881, allocations: 31.77 kB / 0.722 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.8882, allocations: 24.12 kB / 0.7221 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.8896, allocations: 2.871 MB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8896, allocations: 7.406 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.8908, allocations: 0.8307 MB / 0.7257 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.8911, allocations: 189.9 kB / 0.7259 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.8912, allocations: 17.83 kB / 0.7259 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.8916, allocations: 15.28 kB / 0.7259 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.8917, allocations: 41.17 kB / 0.7259 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.8918, allocations: 44.7 kB / 0.726 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005282/0.8923, allocations: 440.1 kB / 0.7264 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8923, allocations: 0 / 0.7264 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008872/0.8932, allocations: 256.2 kB / 0.7266 GB, free: 183.3 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.001979/0.8952, allocations: 1.552 MB / 0.7282 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.8963, allocations: 0.5583 MB / 0.7287 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.8964, allocations: 1.156 kB / 0.7287 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009344/0.8973, allocations: 417.4 kB / 0.7291 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.899, allocations: 367.1 kB / 0.7294 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007839/0.9069, allocations: 6.336 MB / 0.7356 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.9073, allocations: 0.9318 MB / 0.7365 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001045/0.9083, allocations: 465.9 kB / 0.737 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.9088, allocations: 291.8 kB / 0.7373 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.9088, allocations: 4 kB / 0.7373 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.9533, allocations: 24.39 MB / 0.7611 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.41, allocations: 16.31 kB / 0.7611 GB, free: 155.2 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