Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_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.001143/0.001143, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001205/0.001205, allocations: 194 kB / 18.12 MB, free: 5.383 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.341/1.341, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2158/0.2158, allocations: 44.18 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.89 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.138, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03351/0.1716, allocations: 25.87 MB / 494.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009908/0.1816, allocations: 4.543 MB / 499.1 MB, free: 212 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.1828, allocations: 27.75 kB / 499.1 MB, free: 184 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.184, allocations: 254.6 kB / 499.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.1887, allocations: 1.49 MB / 0.4891 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.1925, allocations: 1.265 MB / 0.4903 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003928/0.1964, allocations: 2.702 MB / 0.493 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.1975, allocations: 424.9 kB / 0.4934 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006946/0.2044, allocations: 3.631 MB / 0.4969 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.2074, allocations: 1.535 MB / 0.4984 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.2077, allocations: 32 kB / 0.4984 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.2109, allocations: 1.369 MB / 0.4998 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005735/0.2115, allocations: 231.3 kB / 0.5 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.2125, allocations: 382.1 kB / 0.5004 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.2154, allocations: 1.332 MB / 0.5017 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.2154, allocations: 0 / 0.5017 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2154, allocations: 3.938 kB / 0.5017 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.698e-05/0.2155, allocations: 0 / 0.5017 GB, free: 1.527 MB / 382.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.003109/0.2186, allocations: 1.126 MB / 0.5028 GB, free: 360 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.2186, allocations: 8.031 kB / 0.5028 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.2189, allocations: 98.69 kB / 0.5029 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.2201, allocations: 151.9 kB / 0.503 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2823/0.5023, allocations: 0.4994 MB / 0.5035 GB, free: 52.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.5025, allocations: 104.9 kB / 0.5036 GB, free: 52.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.5026, allocations: 55.81 kB / 0.5037 GB, free: 52.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.5044, allocations: 0.8312 MB / 0.5045 GB, free: 52.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.5044, allocations: 4.094 kB / 0.5045 GB, free: 52.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.5045, allocations: 29.25 kB / 0.5045 GB, free: 52.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.942e-05/0.5046, allocations: 42.25 kB / 0.5045 GB, free: 52.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.5059, allocations: 0.6054 MB / 0.5051 GB, free: 52.31 MB / 382.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.004779/0.5107, allocations: 4.679 MB / 0.5097 GB, free: 48.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.5114, allocations: 331.8 kB / 0.51 GB, free: 48.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.5117, allocations: 146.4 kB / 0.5102 GB, free: 48.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.5119, allocations: 419.3 kB / 0.5106 GB, free: 47.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.5119, allocations: 41.27 kB / 0.5106 GB, free: 47.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.5119, allocations: 0 / 0.5106 GB, free: 47.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00391/0.5158, allocations: 1.522 MB / 0.5121 GB, free: 46.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.5159, allocations: 134.3 kB / 0.5122 GB, free: 46.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.5169, allocations: 0.6549 MB / 0.5128 GB, free: 46.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.5169, allocations: 35.89 kB / 0.5129 GB, free: 46.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.5172, allocations: 391.9 kB / 0.5133 GB, free: 46.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5173, allocations: 136.7 kB / 0.5134 GB, free: 45.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.5175, allocations: 150.5 kB / 0.5135 GB, free: 45.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5177, allocations: 381.7 kB / 0.5139 GB, free: 45.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.5181, allocations: 201.1 kB / 0.5141 GB, free: 45.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.5187, allocations: 0.4989 MB / 0.5146 GB, free: 45.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.5196, allocations: 0.7111 MB / 0.5153 GB, free: 44.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5196, allocations: 2.656 kB / 0.5153 GB, free: 44.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001667/0.5213, allocations: 0.8939 MB / 0.5161 GB, free: 44.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.5213, allocations: 9.703 kB / 0.5161 GB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.5213, allocations: 11.72 kB / 0.5162 GB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.5226, allocations: 284.3 kB / 0.5164 GB, free: 44.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.523, allocations: 122 kB / 0.5165 GB, free: 44.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.524, allocations: 1.394 MB / 0.5179 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.5245, allocations: 37.89 kB / 0.5179 GB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.5246, allocations: 47.91 kB / 0.518 GB, free: 42.84 MB / 382.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.0003323/0.5249, allocations: 246.4 kB / 0.5182 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5251, allocations: 65.84 kB / 0.5183 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.527, allocations: 0.7196 MB / 0.519 GB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.527, allocations: 6.641 kB / 0.519 GB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.527, allocations: 0.5625 kB / 0.519 GB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5271, allocations: 6.75 kB / 0.519 GB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.5291, allocations: 1.217 MB / 0.5202 GB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5291, allocations: 1.719 kB / 0.5202 GB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.5293, allocations: 40.72 kB / 0.5202 GB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008166/0.5301, allocations: 198.3 kB / 0.5204 GB, free: 41.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.5301, allocations: 13.98 kB / 0.5204 GB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008661/0.531, allocations: 1.299 MB / 0.5217 GB, free: 40.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.531, allocations: 1.156 kB / 0.5217 GB, free: 40.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.5324, allocations: 0.8125 MB / 0.5225 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.5326, allocations: 183.3 kB / 0.5227 GB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.5327, allocations: 6.625 kB / 0.5227 GB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.5331, allocations: 22.91 kB / 0.5227 GB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.5332, allocations: 27.83 kB / 0.5227 GB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.5332, allocations: 25.89 kB / 0.5228 GB, free: 39.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005124/0.5338, allocations: 447.6 kB / 0.5232 GB, free: 39.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5338, allocations: 0 / 0.5232 GB, free: 39.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009233/0.5347, allocations: 259 kB / 0.5234 GB, free: 39.65 MB / 382.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.001902/0.5366, allocations: 1.521 MB / 0.5249 GB, free: 38.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009585/0.5376, allocations: 0.5158 MB / 0.5254 GB, free: 38.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5376, allocations: 3.125 kB / 0.5254 GB, free: 38.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.5381, allocations: 221.9 kB / 0.5256 GB, free: 38.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5395, allocations: 313.1 kB / 0.5259 GB, free: 38.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.5464, allocations: 6.555 MB / 0.5323 GB, free: 33.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.5467, allocations: 0.9308 MB / 0.5332 GB, free: 32.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006659/0.5473, allocations: 256.4 kB / 0.5335 GB, free: 32.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.5476, allocations: 232.4 kB / 0.5337 GB, free: 32.55 MB / 382.1 MB Notification: Performance of SimCode: time 5e-07/0.5476, allocations: 0 / 0.5337 GB, free: 32.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.579, allocations: 21.07 MB / 0.5543 GB, free: 11.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.5792, allocations: 322.4 kB / 0.5546 GB, free: 11.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.942, allocations: 7.031 kB / 0.5546 GB, free: 11.61 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches