Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00123/0.00123, allocations: 117.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4014, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1996/0.6011, allocations: 178.2 MB / 0.7045 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008012/0.6091, allocations: 5.345 MB / 0.7097 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008577/0.61, allocations: 19.88 kB / 0.7098 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.6111, allocations: 325.9 kB / 0.7101 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003822/0.615, allocations: 1.352 MB / 0.7114 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.6177, allocations: 1.072 MB / 0.7124 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002259/0.62, allocations: 1.844 MB / 0.7142 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/0.6209, allocations: 469.3 kB / 0.7147 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.6237, allocations: 1.098 MB / 0.7158 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.6252, allocations: 0.755 MB / 0.7165 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.6255, allocations: 64 kB / 0.7166 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.6272, allocations: 0.6242 MB / 0.7172 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.6276, allocations: 267.2 kB / 0.7174 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.6283, allocations: 398.2 kB / 0.7178 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.6305, allocations: 1.312 MB / 0.7191 GB, free: 8 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.6305, allocations: 0 / 0.7191 GB, free: 8 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6305, allocations: 0 / 0.7191 GB, free: 8 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.89e-05/0.6305, allocations: 4 kB / 0.7191 GB, free: 4 kB / 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.2729/0.9034, allocations: 1.117 MB / 0.7202 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.9035, allocations: 9.5 kB / 0.7202 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.9037, allocations: 99 kB / 0.7203 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008875/0.9046, allocations: 145.4 kB / 0.7204 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000974/0.9056, allocations: 0.536 MB / 0.7209 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.9057, allocations: 100.5 kB / 0.721 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.9058, allocations: 51.8 kB / 0.7211 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.907, allocations: 0.8204 MB / 0.7219 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.907, allocations: 2.688 kB / 0.7219 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.9071, allocations: 26.97 kB / 0.7219 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.9072, allocations: 33.08 kB / 0.7219 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.9081, allocations: 0.6248 MB / 0.7226 GB, free: 185 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.003559/0.9116, allocations: 3.939 MB / 0.7264 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.9122, allocations: 356.4 kB / 0.7267 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.9125, allocations: 171.5 kB / 0.7269 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.9126, allocations: 90.98 kB / 0.727 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.9126, allocations: 46.03 kB / 0.727 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.9126, allocations: 0 / 0.727 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005156/0.9178, allocations: 1.691 MB / 0.7287 GB, free: 180 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.9179, allocations: 136 kB / 0.7288 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.9185, allocations: 0.6181 MB / 0.7294 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.9185, allocations: 32.48 kB / 0.7295 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.9187, allocations: 371.1 kB / 0.7298 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.9188, allocations: 154 kB / 0.73 GB, free: 179 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.919, allocations: 156.5 kB / 0.7301 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.9191, allocations: 376.5 kB / 0.7305 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.9194, allocations: 201 kB / 0.7307 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.9198, allocations: 0.5127 MB / 0.7312 GB, free: 178 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.9206, allocations: 0.7462 MB / 0.7319 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.9206, allocations: 7.188 kB / 0.7319 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001319/0.922, allocations: 0.8887 MB / 0.7328 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.922, allocations: 10.22 kB / 0.7328 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.922, allocations: 13.33 kB / 0.7328 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.9233, allocations: 314.1 kB / 0.7331 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.9237, allocations: 124.8 kB / 0.7332 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/0.9247, allocations: 0.9331 MB / 0.7341 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.9252, allocations: 31.17 kB / 0.7341 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.9253, allocations: 64.58 kB / 0.7342 GB, free: 176 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.0003025/0.9256, allocations: 247.9 kB / 0.7344 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.9257, allocations: 70.27 kB / 0.7345 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.9271, allocations: 0.8786 MB / 0.7354 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.9271, allocations: 3.938 kB / 0.7354 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.9272, allocations: 3.969 kB / 0.7354 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.9272, allocations: 3.984 kB / 0.7354 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.9288, allocations: 1.446 MB / 0.7368 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.9289, allocations: 0 / 0.7368 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/0.9298, allocations: 213.4 kB / 0.737 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.063e-05/0.9299, allocations: 24.72 kB / 0.737 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.93, allocations: 19.58 kB / 0.737 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.9313, allocations: 2.876 MB / 0.7398 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9313, allocations: 4.031 kB / 0.7398 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.9323, allocations: 0.8188 MB / 0.7406 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.9325, allocations: 196.5 kB / 0.7408 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.9326, allocations: 23.92 kB / 0.7409 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.933, allocations: 16.06 kB / 0.7409 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.9331, allocations: 39.89 kB / 0.7409 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.9331, allocations: 43.98 kB / 0.7409 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003866/0.9335, allocations: 443 kB / 0.7414 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9335, allocations: 0 / 0.7414 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008756/0.9344, allocations: 251.8 kB / 0.7416 GB, free: 169.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.001824/0.9362, allocations: 1.569 MB / 0.7431 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.9373, allocations: 0.5605 MB / 0.7437 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9373, allocations: 0 / 0.7437 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008505/0.9382, allocations: 422.3 kB / 0.7441 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.9395, allocations: 361 kB / 0.7444 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/0.9461, allocations: 6.335 MB / 0.7506 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.9464, allocations: 0.9339 MB / 0.7515 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009024/0.9473, allocations: 465.5 kB / 0.752 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.9477, allocations: 283.3 kB / 0.7522 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.9477, allocations: 4 kB / 0.7523 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.9971, allocations: 24.42 MB / 0.7761 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.4, allocations: 11.81 kB / 0.7761 GB, free: 133.6 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p