Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001176/0.001176, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4015, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03018/0.4317, allocations: 25.06 MB / 0.555 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007074/0.4388, allocations: 4.371 MB / 0.5593 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008941/0.4397, allocations: 19.88 kB / 0.5593 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.4407, allocations: 310 kB / 0.5596 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.445, allocations: 1.645 MB / 0.5612 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.4486, allocations: 1.386 MB / 0.5625 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.4508, allocations: 1.852 MB / 0.5644 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00065/0.4514, allocations: 493.2 kB / 0.5648 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005453/0.4569, allocations: 3.378 MB / 0.5681 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.4591, allocations: 1.422 MB / 0.5695 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.4593, allocations: 60 kB / 0.5696 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.4618, allocations: 1.322 MB / 0.5709 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.4621, allocations: 267.2 kB / 0.5711 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005605/0.4627, allocations: 402.2 kB / 0.5715 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.4652, allocations: 1.378 MB / 0.5728 GB, free: 6.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4652, allocations: 0 / 0.5728 GB, free: 6.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4652, allocations: 4 kB / 0.5729 GB, free: 6.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4653, allocations: 3.938 kB / 0.5729 GB, free: 6.309 MB / 430.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.002136/0.4674, allocations: 1.148 MB / 0.574 GB, free: 5.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4675, allocations: 8.031 kB / 0.574 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.4676, allocations: 106.6 kB / 0.5741 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.4687, allocations: 144.4 kB / 0.5742 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.4696, allocations: 0.5369 MB / 0.5747 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.4698, allocations: 112.5 kB / 0.5749 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.945e-05/0.4699, allocations: 44 kB / 0.5749 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.4712, allocations: 0.8316 MB / 0.5757 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.4713, allocations: 7.953 kB / 0.5757 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.4714, allocations: 35.97 kB / 0.5758 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/0.4714, allocations: 40.92 kB / 0.5758 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.4725, allocations: 0.6048 MB / 0.5764 GB, free: 2.504 MB / 430.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.004947/0.4775, allocations: 4.683 MB / 0.581 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.4781, allocations: 329.7 kB / 0.5813 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.4784, allocations: 136.8 kB / 0.5814 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.4787, allocations: 417.5 kB / 0.5818 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.4787, allocations: 46.5 kB / 0.5818 GB, free: 12.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.4787, allocations: 0 / 0.5818 GB, free: 12.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.003929/0.4827, allocations: 1.539 MB / 0.5833 GB, free: 10.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.4827, allocations: 132.5 kB / 0.5835 GB, free: 10.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.4835, allocations: 0.6642 MB / 0.5841 GB, free: 9.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.4835, allocations: 33.7 kB / 0.5842 GB, free: 9.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.4838, allocations: 399.6 kB / 0.5845 GB, free: 9.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.4839, allocations: 138.8 kB / 0.5847 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.4841, allocations: 150.5 kB / 0.5848 GB, free: 9.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4842, allocations: 374.8 kB / 0.5852 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.4846, allocations: 205.9 kB / 0.5854 GB, free: 8.672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.4851, allocations: 0.4941 MB / 0.5858 GB, free: 8.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008811/0.486, allocations: 0.7171 MB / 0.5865 GB, free: 7.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.486, allocations: 4 kB / 0.5865 GB, free: 7.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001498/0.4875, allocations: 0.8915 MB / 0.5874 GB, free: 6.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4876, allocations: 11.98 kB / 0.5874 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4876, allocations: 8 kB / 0.5874 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.4888, allocations: 286 kB / 0.5877 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.4892, allocations: 119.8 kB / 0.5878 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.4903, allocations: 1.399 MB / 0.5892 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.4908, allocations: 24 kB / 0.5892 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.4908, allocations: 47.98 kB / 0.5893 GB, free: 4.352 MB / 446.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.0003192/0.4912, allocations: 253.4 kB / 0.5895 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4913, allocations: 75.64 kB / 0.5896 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.4928, allocations: 0.7166 MB / 0.5903 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4928, allocations: 4 kB / 0.5903 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4928, allocations: 0 / 0.5903 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4928, allocations: 0 / 0.5903 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.4946, allocations: 1.212 MB / 0.5915 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4947, allocations: 0 / 0.5915 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.4948, allocations: 43.92 kB / 0.5915 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008583/0.4957, allocations: 201.5 kB / 0.5917 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.4957, allocations: 12 kB / 0.5917 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.4968, allocations: 1.3 MB / 0.593 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4968, allocations: 3.938 kB / 0.593 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.4982, allocations: 0.8121 MB / 0.5938 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.4986, allocations: 184.6 kB / 0.5939 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.4987, allocations: 15.98 kB / 0.594 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.4991, allocations: 12 kB / 0.594 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.4991, allocations: 23.97 kB / 0.594 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.4992, allocations: 23.98 kB / 0.594 GB, free: 15.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005641/0.4998, allocations: 451 kB / 0.5945 GB, free: 14.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4998, allocations: 4.062 kB / 0.5945 GB, free: 14.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008441/0.5006, allocations: 259.7 kB / 0.5947 GB, free: 14.57 MB / 462.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.002067/0.5027, allocations: 1.529 MB / 0.5962 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.5038, allocations: 0.5278 MB / 0.5967 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5038, allocations: 0 / 0.5967 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.5043, allocations: 219.6 kB / 0.5969 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.5058, allocations: 343.3 kB / 0.5972 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007841/0.5136, allocations: 6.138 MB / 0.6032 GB, free: 5.434 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.5141, allocations: 0.9303 MB / 0.6042 GB, free: 4.473 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006566/0.5148, allocations: 253.6 kB / 0.6044 GB, free: 4.227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.5151, allocations: 231.3 kB / 0.6046 GB, free: 4.004 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5151, allocations: 0 / 0.6046 GB, free: 4.004 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05096/0.566, allocations: 22.07 MB / 0.6262 GB, free: 14.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.87, allocations: 26.78 kB / 0.6262 GB, free: 14.24 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches