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.001069/0.00107, allocations: 95.27 kB / 17.35 MB, free: 6.344 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.001182/0.001182, allocations: 173.6 kB / 18.25 MB, free: 5.504 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.405/1.405, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1853/0.1853, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 13.75 kB / 410.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02603/0.1283, allocations: 25.15 MB / 497.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006958/0.1353, allocations: 4.469 MB / 0.4902 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.1364, allocations: 27.75 kB / 0.4902 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1376, allocations: 250.6 kB / 0.4905 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.1418, allocations: 1.495 MB / 0.4919 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.1449, allocations: 1.26 MB / 0.4932 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.1478, allocations: 2.71 MB / 0.4958 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.1486, allocations: 413 kB / 0.4962 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005352/0.154, allocations: 3.616 MB / 0.4997 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.1561, allocations: 1.508 MB / 0.5012 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.1563, allocations: 35.94 kB / 0.5012 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.1588, allocations: 1.361 MB / 0.5026 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.1591, allocations: 247.2 kB / 0.5028 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.1597, allocations: 399.8 kB / 0.5032 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.1616, allocations: 1.32 MB / 0.5045 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1616, allocations: 0 / 0.5045 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1616, allocations: 0 / 0.5045 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.1616, allocations: 0 / 0.5045 GB, free: 0.8828 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.2165/0.3781, allocations: 0.9645 MB / 0.5054 GB, free: 19.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.3782, allocations: 10.25 kB / 0.5054 GB, free: 19.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003652/0.3786, allocations: 100.8 kB / 0.5055 GB, free: 19.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.3799, allocations: 145.4 kB / 0.5057 GB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/0.3809, allocations: 0.508 MB / 0.5062 GB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.381, allocations: 108.4 kB / 0.5063 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3811, allocations: 51.64 kB / 0.5063 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.3828, allocations: 0.8365 MB / 0.5071 GB, free: 19.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.3828, allocations: 5.312 kB / 0.5071 GB, free: 19.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.3829, allocations: 25.36 kB / 0.5072 GB, free: 19.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.278e-05/0.383, allocations: 45.33 kB / 0.5072 GB, free: 19.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3842, allocations: 0.6019 MB / 0.5078 GB, free: 19.33 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.004618/0.3888, allocations: 4.684 MB / 0.5124 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.3895, allocations: 331.3 kB / 0.5127 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.3897, allocations: 141.4 kB / 0.5128 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.39, allocations: 420.4 kB / 0.5132 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.39, allocations: 39.47 kB / 0.5133 GB, free: 15.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.356e-06/0.39, allocations: 0 / 0.5133 GB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004123/0.3941, allocations: 1.534 MB / 0.5148 GB, free: 14.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3942, allocations: 136.8 kB / 0.5149 GB, free: 14.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.3951, allocations: 0.6528 MB / 0.5155 GB, free: 14.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3951, allocations: 32.12 kB / 0.5156 GB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.3953, allocations: 391 kB / 0.5159 GB, free: 14.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.392e-05/0.3954, allocations: 130.1 kB / 0.5161 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3955, allocations: 65 kB / 0.5161 GB, free: 14.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3957, allocations: 375.8 kB / 0.5165 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.396, allocations: 207.7 kB / 0.5167 GB, free: 13.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.3965, allocations: 0.4991 MB / 0.5172 GB, free: 13.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.3973, allocations: 0.7151 MB / 0.5179 GB, free: 13.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.3973, allocations: 3.438 kB / 0.5179 GB, free: 13.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001585/0.3989, allocations: 0.8938 MB / 0.5187 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3989, allocations: 8.594 kB / 0.5187 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3989, allocations: 9.125 kB / 0.5188 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.4002, allocations: 289.2 kB / 0.519 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.4006, allocations: 121 kB / 0.5191 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009286/0.4015, allocations: 1.402 MB / 0.5205 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.4021, allocations: 34.72 kB / 0.5205 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/0.4021, allocations: 41.3 kB / 0.5206 GB, free: 12.07 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.0003172/0.4025, allocations: 246.2 kB / 0.5208 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.4026, allocations: 72.19 kB / 0.5209 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.4043, allocations: 0.7239 MB / 0.5216 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.4043, allocations: 3.938 kB / 0.5216 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4044, allocations: 0 / 0.5216 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4044, allocations: 3 kB / 0.5216 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.4062, allocations: 1.213 MB / 0.5228 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4062, allocations: 0 / 0.5228 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.4064, allocations: 40.64 kB / 0.5228 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008628/0.4073, allocations: 201.2 kB / 0.523 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.4073, allocations: 16.45 kB / 0.523 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/0.4082, allocations: 1.298 MB / 0.5243 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4082, allocations: 1.906 kB / 0.5243 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.4094, allocations: 0.8057 MB / 0.5251 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.4097, allocations: 197.3 kB / 0.5253 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.4098, allocations: 10.88 kB / 0.5253 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.4102, allocations: 19.19 kB / 0.5253 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.4103, allocations: 30.56 kB / 0.5253 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.4104, allocations: 20.69 kB / 0.5254 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005176/0.4109, allocations: 456.7 kB / 0.5258 GB, free: 9.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4109, allocations: 2.734 kB / 0.5258 GB, free: 9.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000837/0.4117, allocations: 256.6 kB / 0.526 GB, free: 9.941 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.001919/0.4137, allocations: 1.526 MB / 0.5275 GB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009592/0.4146, allocations: 0.5174 MB / 0.528 GB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4147, allocations: 1.312 kB / 0.528 GB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.4151, allocations: 213.4 kB / 0.5282 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.4167, allocations: 328.2 kB / 0.5286 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007781/0.4245, allocations: 6.628 MB / 0.535 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.425, allocations: 0.9335 MB / 0.5359 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008405/0.4258, allocations: 259.3 kB / 0.5362 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.4262, allocations: 227.1 kB / 0.5364 GB, free: 5.371 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4262, allocations: 3.562 kB / 0.5364 GB, free: 5.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.4655, allocations: 20.87 MB / 0.5568 GB, free: 6.406 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/0.4658, allocations: 317.8 kB / 0.5571 GB, free: 6.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.797, allocations: 4.062 kB / 0.5571 GB, free: 6.023 MB / 398.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