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.00122/0.001226, allocations: 105.7 kB / 15.98 MB, free: 6.336 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.001322/0.001322, allocations: 193.1 kB / 16.9 MB, free: 6.18 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.653/1.653, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4189/0.4189, allocations: 43.49 MB / 313.6 MB, free: 8.523 MB / 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.001649/0.001649, allocations: 63.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1632, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.3676/0.5309, allocations: 30.55 MB / 470.7 MB, free: 33.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006598/0.5375, allocations: 4.67 MB / 475.3 MB, free: 30.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.5388, allocations: 31.06 kB / 475.4 MB, free: 30.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008855/0.5396, allocations: 256.4 kB / 475.6 MB, free: 30.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.5443, allocations: 1.701 MB / 477.3 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.5479, allocations: 1.448 MB / 478.8 MB, free: 29.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.5502, allocations: 1.849 MB / 480.6 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006247/0.5508, allocations: 491.3 kB / 481.1 MB, free: 28.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006275/0.5571, allocations: 3.876 MB / 485 MB, free: 27.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.5597, allocations: 1.56 MB / 486.5 MB, free: 26.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.5599, allocations: 60.88 kB / 486.6 MB, free: 26.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.5631, allocations: 1.588 MB / 488.2 MB, free: 26.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.5634, allocations: 262.5 kB / 488.4 MB, free: 26.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005504/0.564, allocations: 409 kB / 488.8 MB, free: 26.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.5667, allocations: 1.492 MB / 490.3 MB, free: 25.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5667, allocations: 0 / 490.3 MB, free: 25.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5667, allocations: 3.938 kB / 490.3 MB, free: 25.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.5667, allocations: 0 / 490.3 MB, free: 25.62 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.002565/0.5693, allocations: 1.14 MB / 491.5 MB, free: 24.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.5694, allocations: 13.36 kB / 491.5 MB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.5695, allocations: 102 kB / 491.6 MB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.5707, allocations: 152 kB / 491.7 MB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.5716, allocations: 0.505 MB / 492.2 MB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.5718, allocations: 107.6 kB / 492.3 MB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.5719, allocations: 44.34 kB / 492.4 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.5736, allocations: 0.8407 MB / 493.2 MB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.5736, allocations: 6.125 kB / 493.2 MB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.5737, allocations: 28.42 kB / 493.3 MB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-05/0.5738, allocations: 42.23 kB / 493.3 MB, free: 23.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.5752, allocations: 0.6114 MB / 493.9 MB, free: 23.55 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.006142/0.5814, allocations: 4.895 MB / 498.8 MB, free: 19.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/0.5822, allocations: 331.5 kB / 499.1 MB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.5824, allocations: 147.5 kB / 499.3 MB, free: 19.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/0.5829, allocations: 0.6059 MB / 499.9 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5829, allocations: 46.19 kB / 499.9 MB, free: 18.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.334e-06/0.5829, allocations: 0 / 499.9 MB, free: 18.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004496/0.5874, allocations: 1.536 MB / 0.4897 GB, free: 17.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.5875, allocations: 132.2 kB / 0.4898 GB, free: 17.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.5886, allocations: 0.6549 MB / 0.4905 GB, free: 17.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.5886, allocations: 32.53 kB / 0.4905 GB, free: 17.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.5889, allocations: 388.6 kB / 0.4909 GB, free: 16.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.5891, allocations: 132.6 kB / 0.491 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.5893, allocations: 156.3 kB / 0.4911 GB, free: 16.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5895, allocations: 377 kB / 0.4915 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.5899, allocations: 202 kB / 0.4917 GB, free: 16.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.5905, allocations: 0.503 MB / 0.4922 GB, free: 15.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009778/0.5915, allocations: 0.7107 MB / 0.4929 GB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.5915, allocations: 3.562 kB / 0.4929 GB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001947/0.5935, allocations: 0.9024 MB / 0.4938 GB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.5935, allocations: 8.781 kB / 0.4938 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.5936, allocations: 13.81 kB / 0.4938 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.595, allocations: 286.7 kB / 0.4941 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.5955, allocations: 123.8 kB / 0.4942 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.5965, allocations: 1.395 MB / 0.4955 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.5973, allocations: 34.55 kB / 0.4956 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.5974, allocations: 47.34 kB / 0.4956 GB, free: 13.52 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.0004548/0.5978, allocations: 247.6 kB / 0.4959 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.598, allocations: 73.78 kB / 0.4959 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.6, allocations: 0.6582 MB / 0.4966 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.6, allocations: 4.656 kB / 0.4966 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6, allocations: 4 kB / 0.4966 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.6, allocations: 3.438 kB / 0.4966 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.6028, allocations: 1.228 MB / 0.4978 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6028, allocations: 5.625 kB / 0.4978 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.603, allocations: 45.28 kB / 0.4978 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.6041, allocations: 207 kB / 0.498 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.6041, allocations: 9.188 kB / 0.498 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.6052, allocations: 1.298 MB / 0.4993 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6052, allocations: 8.062 kB / 0.4993 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.6068, allocations: 0.8154 MB / 0.5001 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.6073, allocations: 186.8 kB / 0.5003 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6074, allocations: 11.59 kB / 0.5003 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.6078, allocations: 18.86 kB / 0.5003 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.6079, allocations: 24.48 kB / 0.5003 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.608, allocations: 25.83 kB / 0.5004 GB, free: 10.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008339/0.6088, allocations: 454.3 kB / 0.5008 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6088, allocations: 1.125 kB / 0.5008 GB, free: 10.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00157/0.6104, allocations: 293 kB / 0.5011 GB, free: 10.25 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.003253/0.6137, allocations: 1.62 MB / 0.5027 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.6154, allocations: 0.5648 MB / 0.5032 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.6154, allocations: 1.312 kB / 0.5032 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.616, allocations: 222.2 kB / 0.5034 GB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.6177, allocations: 344.1 kB / 0.5038 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.628, allocations: 6.571 MB / 0.5102 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.6286, allocations: 0.9338 MB / 0.5111 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.6296, allocations: 201.2 kB / 0.5113 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.63, allocations: 227.1 kB / 0.5115 GB, free: 3.805 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.63, allocations: 0 / 0.5115 GB, free: 3.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/0.6868, allocations: 22.64 MB / 0.5336 GB, free: 72 kB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005084/0.6874, allocations: 312.5 kB / 0.5339 GB, free: 15.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.288, allocations: 0 / 0.5339 GB, free: 15.68 MB / 414.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches