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.001632/0.001632, allocations: 110.4 kB / 17.78 MB, free: 5.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.002606/0.002606, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.484/1.484, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2338/0.2338, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 67.88 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3957, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02986/0.4256, allocations: 24.98 MB / 0.5428 GB, free: 348 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007395/0.433, allocations: 4.376 MB / 0.5471 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.4343, allocations: 19.81 kB / 0.5471 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.4356, allocations: 303.3 kB / 0.5474 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.4413, allocations: 1.63 MB / 0.549 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004086/0.4454, allocations: 1.383 MB / 0.5503 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003081/0.4485, allocations: 1.843 MB / 0.5521 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.4496, allocations: 485.8 kB / 0.5526 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/0.4554, allocations: 3.359 MB / 0.5559 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.4579, allocations: 1.387 MB / 0.5572 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.4582, allocations: 60 kB / 0.5573 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.4612, allocations: 1.338 MB / 0.5586 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004319/0.4617, allocations: 267.2 kB / 0.5589 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008578/0.4625, allocations: 398.1 kB / 0.5592 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.4659, allocations: 1.371 MB / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.466, allocations: 0 / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.466, allocations: 0 / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.353e-05/0.466, allocations: 4 kB / 0.5606 GB, free: 0.8789 MB / 414.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.003053/0.4691, allocations: 1.126 MB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4691, allocations: 12.03 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.4693, allocations: 102.7 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.4705, allocations: 140 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4718, allocations: 0.5326 MB / 0.5624 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.472, allocations: 108.5 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.4721, allocations: 51.98 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.4735, allocations: 0.8278 MB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.4736, allocations: 7.938 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.4737, allocations: 31.92 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/0.4737, allocations: 36.98 kB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.4749, allocations: 0.6087 MB / 0.5641 GB, free: 13.11 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.005375/0.4803, allocations: 4.678 MB / 0.5686 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.481, allocations: 330.7 kB / 0.569 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.4812, allocations: 141.3 kB / 0.5691 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.4815, allocations: 413.5 kB / 0.5695 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4816, allocations: 42.56 kB / 0.5695 GB, free: 7.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.4816, allocations: 0 / 0.5695 GB, free: 7.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004013/0.4856, allocations: 1.523 MB / 0.571 GB, free: 5.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.4857, allocations: 132.5 kB / 0.5711 GB, free: 5.266 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/0.4866, allocations: 0.6525 MB / 0.5718 GB, free: 4.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.4866, allocations: 37.7 kB / 0.5718 GB, free: 4.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.4869, allocations: 398.4 kB / 0.5722 GB, free: 4.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.4871, allocations: 130.2 kB / 0.5723 GB, free: 4.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.4873, allocations: 150.5 kB / 0.5725 GB, free: 3.887 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4875, allocations: 374.8 kB / 0.5728 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.4879, allocations: 205.8 kB / 0.573 GB, free: 3.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.4884, allocations: 0.5017 MB / 0.5735 GB, free: 2.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009514/0.4894, allocations: 0.717 MB / 0.5742 GB, free: 1.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4894, allocations: 4 kB / 0.5742 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001646/0.4911, allocations: 0.8874 MB / 0.5751 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4911, allocations: 8 kB / 0.5751 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.4911, allocations: 8 kB / 0.5751 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.4924, allocations: 293.7 kB / 0.5754 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.4929, allocations: 115.8 kB / 0.5755 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.4941, allocations: 1.401 MB / 0.5769 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.4946, allocations: 24 kB / 0.5769 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.4947, allocations: 43.98 kB / 0.5769 GB, free: 14.99 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.0003302/0.4951, allocations: 251.7 kB / 0.5772 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.4952, allocations: 71.09 kB / 0.5772 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.4968, allocations: 0.7208 MB / 0.5779 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4968, allocations: 4 kB / 0.5779 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4968, allocations: 3.984 kB / 0.5779 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4968, allocations: 0 / 0.5779 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.4989, allocations: 1.205 MB / 0.5791 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4989, allocations: 3.984 kB / 0.5791 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.4991, allocations: 39.98 kB / 0.5792 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/0.5, allocations: 201.4 kB / 0.5793 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.5, allocations: 11.98 kB / 0.5794 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.5012, allocations: 1.296 MB / 0.5806 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5012, allocations: 3.938 kB / 0.5806 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.5025, allocations: 0.8109 MB / 0.5814 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.5029, allocations: 188.2 kB / 0.5816 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.503, allocations: 11.94 kB / 0.5816 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.5034, allocations: 19.98 kB / 0.5816 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.5035, allocations: 23.95 kB / 0.5817 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.5035, allocations: 23.98 kB / 0.5817 GB, free: 9.902 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005814/0.5041, allocations: 459.1 kB / 0.5821 GB, free: 9.461 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5041, allocations: 0 / 0.5821 GB, free: 9.461 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009344/0.5051, allocations: 252 kB / 0.5824 GB, free: 9.215 MB / 446.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.002274/0.5073, allocations: 1.52 MB / 0.5838 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.5084, allocations: 0.5271 MB / 0.5844 GB, free: 7.133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.5085, allocations: 0 / 0.5844 GB, free: 7.133 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.509, allocations: 223.6 kB / 0.5846 GB, free: 6.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.5105, allocations: 340.1 kB / 0.5849 GB, free: 6.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008464/0.519, allocations: 6.113 MB / 0.5909 GB, free: 116 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.5196, allocations: 0.9342 MB / 0.5918 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007081/0.5203, allocations: 257.5 kB / 0.592 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.5207, allocations: 227.3 kB / 0.5922 GB, free: 14.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5207, allocations: 4 kB / 0.5922 GB, free: 14.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05778/0.5785, allocations: 22.41 MB / 0.6141 GB, free: 8.629 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.91, allocations: 16.31 kB / 0.6141 GB, free: 8.617 MB / 478.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