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.001133/0.001133, allocations: 105.2 kB / 16.4 MB, free: 6.418 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.00119/0.00119, allocations: 192.2 kB / 17.34 MB, free: 5.691 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.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.1998/0.1998, allocations: 43.52 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.001402/0.001402, allocations: 67.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03107/0.1424, allocations: 30.08 MB / 0.5168 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.1486, allocations: 4.573 MB / 0.5213 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.1491, allocations: 19.88 kB / 0.5213 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.15, allocations: 310 kB / 0.5216 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.1546, allocations: 1.841 MB / 0.5234 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.1579, allocations: 1.547 MB / 0.5249 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.1601, allocations: 1.852 MB / 0.5267 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.1607, allocations: 477.4 kB / 0.5271 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.254/0.4147, allocations: 3.502 MB / 0.5306 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.4177, allocations: 1.384 MB / 0.5319 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.418, allocations: 61.44 kB / 0.532 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.422, allocations: 1.533 MB / 0.5335 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.4224, allocations: 271.9 kB / 0.5337 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.423, allocations: 400 kB / 0.5341 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.4253, allocations: 1.49 MB / 0.5356 GB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4253, allocations: 3.094 kB / 0.5356 GB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4253, allocations: 0 / 0.5356 GB, free: 6.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.4254, allocations: 1.469 kB / 0.5356 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.00228/0.4277, allocations: 1.171 MB / 0.5367 GB, free: 5.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4277, allocations: 14.23 kB / 0.5367 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.4278, allocations: 106.5 kB / 0.5368 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.4288, allocations: 142.5 kB / 0.537 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008481/0.4296, allocations: 0.5452 MB / 0.5375 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.4298, allocations: 102.2 kB / 0.5376 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.4299, allocations: 47.86 kB / 0.5376 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.4312, allocations: 0.8422 MB / 0.5385 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.4313, allocations: 7.75 kB / 0.5385 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.4313, allocations: 25.97 kB / 0.5385 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/0.4314, allocations: 37.62 kB / 0.5385 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.4326, allocations: 0.6038 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.004703/0.4373, allocations: 4.884 MB / 0.5439 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.438, allocations: 340 kB / 0.5442 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.4382, allocations: 137.7 kB / 0.5443 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/0.4386, allocations: 0.6062 MB / 0.5449 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4386, allocations: 38.77 kB / 0.545 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.4386, allocations: 0 / 0.545 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004335/0.443, allocations: 1.55 MB / 0.5465 GB, free: 16.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.4431, allocations: 133.4 kB / 0.5466 GB, free: 16.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008733/0.4439, allocations: 0.6585 MB / 0.5473 GB, free: 16.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.444, allocations: 36.83 kB / 0.5473 GB, free: 16.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.4443, allocations: 391.9 kB / 0.5477 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.4444, allocations: 150.8 kB / 0.5478 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.4446, allocations: 152.7 kB / 0.548 GB, free: 15.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4448, allocations: 376.6 kB / 0.5483 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.4452, allocations: 202.2 kB / 0.5485 GB, free: 15.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.4457, allocations: 0.5013 MB / 0.549 GB, free: 15.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.4468, allocations: 0.7151 MB / 0.5497 GB, free: 14.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4468, allocations: 2.625 kB / 0.5497 GB, free: 14.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001688/0.4485, allocations: 0.903 MB / 0.5506 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.4485, allocations: 13.5 kB / 0.5506 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.4485, allocations: 8.875 kB / 0.5506 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.4499, allocations: 290 kB / 0.5509 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.4503, allocations: 129.4 kB / 0.551 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.4516, allocations: 1.394 MB / 0.5524 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.4521, allocations: 30.98 kB / 0.5524 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.4522, allocations: 46.22 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.0003794/0.4526, allocations: 245.5 kB / 0.5527 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4528, allocations: 79.19 kB / 0.5527 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.4543, allocations: 0.66 MB / 0.5534 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4543, allocations: 3.531 kB / 0.5534 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4543, allocations: 0.5156 kB / 0.5534 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4543, allocations: 3.109 kB / 0.5534 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.4563, allocations: 1.219 MB / 0.5546 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4563, allocations: 1.094 kB / 0.5546 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.4565, allocations: 47.3 kB / 0.5546 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008495/0.4573, allocations: 210.6 kB / 0.5548 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.4574, allocations: 9.875 kB / 0.5548 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.4584, allocations: 1.295 MB / 0.5561 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.4584, allocations: 5.844 kB / 0.5561 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4599, allocations: 0.8263 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.4602, allocations: 188.6 kB / 0.5571 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.4604, allocations: 12.75 kB / 0.5571 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.4608, allocations: 20.36 kB / 0.5571 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.4608, allocations: 23.88 kB / 0.5572 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.4609, allocations: 26.31 kB / 0.5572 GB, free: 11.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006211/0.4615, allocations: 452 kB / 0.5576 GB, free: 11.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4615, allocations: 1.156 kB / 0.5576 GB, free: 11.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001146/0.4627, allocations: 293.5 kB / 0.5579 GB, free: 11.36 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.002311/0.465, allocations: 1.616 MB / 0.5595 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.4661, allocations: 0.5333 MB / 0.56 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4661, allocations: 3.938 kB / 0.56 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.4666, allocations: 227.8 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.001465/0.468, allocations: 332 kB / 0.5605 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/0.4757, allocations: 6.169 MB / 0.5666 GB, free: 7.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.4762, allocations: 0.9325 MB / 0.5675 GB, free: 7.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006611/0.4768, allocations: 212 kB / 0.5677 GB, free: 7.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.4772, allocations: 226.6 kB / 0.5679 GB, free: 7.043 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4772, allocations: 3.312 kB / 0.5679 GB, free: 7.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04612/0.5233, allocations: 23.07 MB / 0.5904 GB, free: 6.594 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.43, allocations: 8.234 kB / 0.5904 GB, free: 6.586 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