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.00592/0.00592, allocations: 99.64 kB / 15.87 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.001327/0.001327, allocations: 197.1 kB / 16.79 MB, free: 6.219 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.451/1.451, allocations: 205.1 MB / 222.7 MB, free: 4.715 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.3205/0.3205, allocations: 43.5 MB / 313.5 MB, free: 8.531 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.001519/0.001519, allocations: 63.91 kB / 382.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.2417/0.3511, allocations: 31.31 MB / 471.2 MB, free: 33.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006242/0.3573, allocations: 4.784 MB / 476 MB, free: 30.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.3585, allocations: 28.44 kB / 476.1 MB, free: 30.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.3594, allocations: 252.5 kB / 476.3 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.3635, allocations: 1.655 MB / 478 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.3668, allocations: 1.388 MB / 479.3 MB, free: 28.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.3694, allocations: 2.707 MB / 482.1 MB, free: 28.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006143/0.37, allocations: 419.3 kB / 482.5 MB, free: 27.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005404/0.3754, allocations: 3.762 MB / 486.2 MB, free: 27.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.3774, allocations: 1.528 MB / 487.8 MB, free: 26.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.3775, allocations: 32.69 kB / 487.8 MB, free: 26.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.3801, allocations: 1.534 MB / 489.3 MB, free: 26.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.3804, allocations: 247 kB / 489.6 MB, free: 26.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.3809, allocations: 374.9 kB / 489.9 MB, free: 26.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.383, allocations: 1.467 MB / 491.4 MB, free: 25.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3831, allocations: 4 kB / 491.4 MB, free: 25.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3831, allocations: 1.062 kB / 491.4 MB, free: 25.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3831, allocations: 0 / 491.4 MB, free: 25.63 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.002155/0.3852, allocations: 1.14 MB / 492.5 MB, free: 24.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3853, allocations: 13.89 kB / 492.6 MB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.3854, allocations: 100.5 kB / 492.7 MB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.3864, allocations: 144.5 kB / 492.8 MB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.3872, allocations: 0.5194 MB / 493.3 MB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.3873, allocations: 101 kB / 493.4 MB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.85e-05/0.3874, allocations: 52.3 kB / 493.5 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3889, allocations: 0.8396 MB / 494.3 MB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3889, allocations: 1.344 kB / 494.3 MB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.389, allocations: 20.03 kB / 494.3 MB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.05e-05/0.3891, allocations: 43.75 kB / 494.4 MB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3903, allocations: 0.6072 MB / 495 MB, free: 23.57 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.004538/0.3948, allocations: 4.887 MB / 499.9 MB, free: 19.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.3956, allocations: 335.1 kB / 0.4885 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.3958, allocations: 141.2 kB / 0.4886 GB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/0.3962, allocations: 0.6138 MB / 0.4892 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3962, allocations: 37.91 kB / 0.4892 GB, free: 18.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/0.3962, allocations: 1.312 kB / 0.4892 GB, free: 18.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004101/0.4003, allocations: 1.537 MB / 0.4907 GB, free: 17.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4004, allocations: 137.3 kB / 0.4909 GB, free: 17.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.4012, allocations: 0.6541 MB / 0.4915 GB, free: 17.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.526e-05/0.4013, allocations: 32.3 kB / 0.4915 GB, free: 17.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.4015, allocations: 396.3 kB / 0.4919 GB, free: 16.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/0.4016, allocations: 137.8 kB / 0.492 GB, free: 16.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.4018, allocations: 152.6 kB / 0.4922 GB, free: 16.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4019, allocations: 375.4 kB / 0.4925 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.4023, allocations: 206.9 kB / 0.4927 GB, free: 16.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.4027, allocations: 0.4953 MB / 0.4932 GB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007579/0.4035, allocations: 0.7147 MB / 0.4939 GB, free: 15.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4035, allocations: 2.625 kB / 0.4939 GB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001571/0.4051, allocations: 0.8987 MB / 0.4948 GB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4051, allocations: 10.19 kB / 0.4948 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4051, allocations: 12.03 kB / 0.4948 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.4064, allocations: 295.5 kB / 0.4951 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.4068, allocations: 120.4 kB / 0.4952 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.4078, allocations: 1.401 MB / 0.4966 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/0.4084, allocations: 29.64 kB / 0.4966 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.4085, allocations: 48.22 kB / 0.4967 GB, free: 13.54 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.0003671/0.4088, allocations: 249.8 kB / 0.4969 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.409, allocations: 74.12 kB / 0.497 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.4105, allocations: 0.6558 MB / 0.4976 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4105, allocations: 4.062 kB / 0.4976 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4105, allocations: 0 / 0.4976 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4105, allocations: 3.719 kB / 0.4976 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.4127, allocations: 1.224 MB / 0.4988 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4127, allocations: 1.125 kB / 0.4988 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.4129, allocations: 45.66 kB / 0.4989 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009183/0.4139, allocations: 206.3 kB / 0.4991 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.4139, allocations: 14.05 kB / 0.4991 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009472/0.4149, allocations: 1.297 MB / 0.5003 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4149, allocations: 4.938 kB / 0.5003 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4163, allocations: 0.8159 MB / 0.5011 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.4167, allocations: 187.2 kB / 0.5013 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4168, allocations: 8.938 kB / 0.5013 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.4172, allocations: 27.53 kB / 0.5014 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.4173, allocations: 27.11 kB / 0.5014 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.4173, allocations: 26.59 kB / 0.5014 GB, free: 10.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006184/0.4179, allocations: 455.2 kB / 0.5018 GB, free: 10.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4179, allocations: 0 / 0.5018 GB, free: 10.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001289/0.4192, allocations: 293.2 kB / 0.5021 GB, free: 10.27 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.002234/0.4215, allocations: 1.616 MB / 0.5037 GB, free: 9.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.4227, allocations: 0.5171 MB / 0.5042 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4227, allocations: 5.156 kB / 0.5042 GB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.4232, allocations: 224 kB / 0.5044 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.4247, allocations: 319.9 kB / 0.5047 GB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/0.4339, allocations: 6.571 MB / 0.5111 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.4343, allocations: 0.9273 MB / 0.5121 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000924/0.4352, allocations: 209.4 kB / 0.5123 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/0.4356, allocations: 233.5 kB / 0.5125 GB, free: 3.457 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4356, allocations: 0 / 0.5125 GB, free: 3.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/0.4778, allocations: 22.06 MB / 0.534 GB, free: 15.61 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.4781, allocations: 308.4 kB / 0.5343 GB, free: 15.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.699, allocations: 4 kB / 0.5343 GB, free: 15.23 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