Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001717/0.001717, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001508/0.001508, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.21/0.21, allocations: 43.54 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.89 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1066, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03579/0.1424, allocations: 30.09 MB / 0.5168 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00758/0.15, allocations: 4.577 MB / 0.5213 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008291/0.1509, allocations: 19.88 kB / 0.5213 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.152, allocations: 306 kB / 0.5216 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.1572, allocations: 1.817 MB / 0.5233 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.161, allocations: 1.543 MB / 0.5249 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002691/0.1637, allocations: 1.841 MB / 0.5266 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009517/0.1647, allocations: 477.4 kB / 0.5271 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2218/0.3865, allocations: 3.482 MB / 0.5305 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.389, allocations: 1.391 MB / 0.5319 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003145/0.3893, allocations: 60.78 kB / 0.5319 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.3923, allocations: 1.537 MB / 0.5334 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.3927, allocations: 265.4 kB / 0.5337 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005065/0.3932, allocations: 399.9 kB / 0.5341 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.3954, allocations: 1.492 MB / 0.5355 GB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3954, allocations: 1.406 kB / 0.5355 GB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3954, allocations: 0 / 0.5355 GB, free: 6.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.3955, allocations: 0 / 0.5355 GB, free: 6.574 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002236/0.3977, allocations: 1.178 MB / 0.5367 GB, free: 5.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3978, allocations: 15.48 kB / 0.5367 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.3979, allocations: 100.5 kB / 0.5368 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009917/0.3989, allocations: 144.7 kB / 0.5369 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.3998, allocations: 0.5464 MB / 0.5374 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.3999, allocations: 104.1 kB / 0.5375 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4, allocations: 48.03 kB / 0.5376 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.4016, allocations: 0.8362 MB / 0.5384 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.4017, allocations: 8.312 kB / 0.5384 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.4018, allocations: 27.06 kB / 0.5384 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.168e-05/0.4018, allocations: 40.42 kB / 0.5385 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.4031, allocations: 0.6063 MB / 0.5391 GB, free: 5.234 MB / 414.1 MB 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.005122/0.4082, allocations: 4.882 MB / 0.5438 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.4089, allocations: 327.1 kB / 0.5442 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.4092, allocations: 144.7 kB / 0.5443 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/0.4096, allocations: 0.6099 MB / 0.5449 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4097, allocations: 37.03 kB / 0.5449 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.635e-06/0.4097, allocations: 0 / 0.5449 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004537/0.4142, allocations: 1.55 MB / 0.5464 GB, free: 16.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.4144, allocations: 135.9 kB / 0.5466 GB, free: 16.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.4153, allocations: 0.6622 MB / 0.5472 GB, free: 16.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.4153, allocations: 32.27 kB / 0.5472 GB, free: 16.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.4156, allocations: 397.2 kB / 0.5476 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/0.4157, allocations: 143.2 kB / 0.5478 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.4159, allocations: 150.7 kB / 0.5479 GB, free: 15.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.4161, allocations: 380.4 kB / 0.5483 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.4165, allocations: 204 kB / 0.5485 GB, free: 15.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.417, allocations: 0.5026 MB / 0.5489 GB, free: 15.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/0.4179, allocations: 0.7084 MB / 0.5496 GB, free: 14.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.418, allocations: 2.625 kB / 0.5496 GB, free: 14.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001613/0.4196, allocations: 0.9046 MB / 0.5505 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4196, allocations: 12.31 kB / 0.5505 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4196, allocations: 10.56 kB / 0.5505 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.4209, allocations: 288.8 kB / 0.5508 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.4212, allocations: 131.2 kB / 0.5509 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.4225, allocations: 1.392 MB / 0.5523 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.423, allocations: 26.77 kB / 0.5523 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.4231, allocations: 46.66 kB / 0.5524 GB, free: 13.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.4234, allocations: 248.3 kB / 0.5526 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4236, allocations: 78.31 kB / 0.5527 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.425, allocations: 0.6515 MB / 0.5533 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.425, allocations: 7.656 kB / 0.5533 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.425, allocations: 2.625 kB / 0.5533 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.425, allocations: 3.422 kB / 0.5533 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.4269, allocations: 1.222 MB / 0.5545 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4269, allocations: 1.312 kB / 0.5545 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4271, allocations: 47.45 kB / 0.5546 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007983/0.4279, allocations: 208.6 kB / 0.5548 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.4279, allocations: 14.86 kB / 0.5548 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.429, allocations: 1.293 MB / 0.5561 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.429, allocations: 5.906 kB / 0.5561 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4303, allocations: 0.8247 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.4305, allocations: 190.1 kB / 0.557 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.4306, allocations: 7.25 kB / 0.5571 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.431, allocations: 19.39 kB / 0.5571 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.431, allocations: 26.98 kB / 0.5571 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.4311, allocations: 29.81 kB / 0.5571 GB, free: 11.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005028/0.4316, allocations: 452.8 kB / 0.5576 GB, free: 11.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4316, allocations: 0 / 0.5576 GB, free: 11.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009954/0.4326, allocations: 296.1 kB / 0.5578 GB, free: 11.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/0.4349, allocations: 1.599 MB / 0.5594 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4359, allocations: 0.5334 MB / 0.5599 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4359, allocations: 13.12 kB / 0.5599 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.4364, allocations: 226.1 kB / 0.5602 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4379, allocations: 340.5 kB / 0.5605 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/0.4461, allocations: 6.175 MB / 0.5665 GB, free: 7.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.4468, allocations: 0.9287 MB / 0.5674 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007067/0.4475, allocations: 209.1 kB / 0.5676 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.4478, allocations: 227.8 kB / 0.5678 GB, free: 7.004 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4478, allocations: 1.062 kB / 0.5678 GB, free: 7.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/0.5028, allocations: 23.06 MB / 0.5904 GB, free: 6.621 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.16, allocations: 16.22 kB / 0.5904 GB, free: 6.605 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches