Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001468/0.001468, allocations: 113.7 kB / 17.78 MB, free: 5.281 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.001544/0.001544, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.533/1.533, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2483/0.2483, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4259, allocations: 60.83 MB / 0.5184 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.04188/0.4679, allocations: 25.01 MB / 0.5429 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00826/0.4762, allocations: 4.358 MB / 0.5471 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008654/0.4771, allocations: 19.81 kB / 0.5471 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.4782, allocations: 304.2 kB / 0.5474 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.4831, allocations: 1.566 MB / 0.549 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.4869, allocations: 1.343 MB / 0.5503 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.4899, allocations: 1.845 MB / 0.5521 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.4907, allocations: 476.8 kB / 0.5525 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00574/0.4965, allocations: 3.02 MB / 0.5555 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.4987, allocations: 1.278 MB / 0.5567 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.4989, allocations: 60 kB / 0.5568 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.5019, allocations: 1.244 MB / 0.558 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.5022, allocations: 263.2 kB / 0.5583 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.5028, allocations: 406.1 kB / 0.5586 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.5053, allocations: 1.382 MB / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5053, allocations: 0 / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5053, allocations: 0 / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.5054, allocations: 0 / 0.56 GB, free: 1.641 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.002384/0.5077, allocations: 1.152 MB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5078, allocations: 12.03 kB / 0.5611 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.5079, allocations: 98.69 kB / 0.5612 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.509, allocations: 148.4 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009454/0.5099, allocations: 0.5448 MB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.5101, allocations: 108.5 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.5101, allocations: 48 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.5116, allocations: 0.8356 MB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.5117, allocations: 3.938 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.609e-05/0.5117, allocations: 24 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-05/0.5118, allocations: 36.98 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.5131, allocations: 0.6048 MB / 0.5635 GB, free: 13.84 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.005518/0.5186, allocations: 4.691 MB / 0.5681 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.5193, allocations: 330.6 kB / 0.5684 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.5196, allocations: 137.3 kB / 0.5685 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.52, allocations: 429.5 kB / 0.5689 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.52, allocations: 42.55 kB / 0.569 GB, free: 7.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.475e-06/0.52, allocations: 0 / 0.569 GB, free: 7.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004291/0.5243, allocations: 1.529 MB / 0.5705 GB, free: 6.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.5244, allocations: 136.5 kB / 0.5706 GB, free: 5.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.5253, allocations: 0.6564 MB / 0.5712 GB, free: 5.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.5254, allocations: 37.7 kB / 0.5713 GB, free: 5.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.5257, allocations: 399.6 kB / 0.5717 GB, free: 4.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.5259, allocations: 138.8 kB / 0.5718 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.5261, allocations: 154.6 kB / 0.5719 GB, free: 4.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.5263, allocations: 374.8 kB / 0.5723 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.5267, allocations: 201.9 kB / 0.5725 GB, free: 4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/0.5274, allocations: 0.5017 MB / 0.573 GB, free: 3.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.5284, allocations: 0.717 MB / 0.5737 GB, free: 2.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5284, allocations: 0 / 0.5737 GB, free: 2.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001695/0.5301, allocations: 0.899 MB / 0.5746 GB, free: 1.609 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.5301, allocations: 8 kB / 0.5746 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.5302, allocations: 15.98 kB / 0.5746 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.5315, allocations: 278.2 kB / 0.5749 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.5319, allocations: 123.8 kB / 0.575 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.5333, allocations: 1.404 MB / 0.5763 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.5337, allocations: 24 kB / 0.5764 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.5338, allocations: 47.98 kB / 0.5764 GB, free: 15.66 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.0003585/0.5342, allocations: 237.7 kB / 0.5766 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.5343, allocations: 83.41 kB / 0.5767 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.536, allocations: 0.7093 MB / 0.5774 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.536, allocations: 8 kB / 0.5774 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.536, allocations: 0 / 0.5774 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.536, allocations: 8 kB / 0.5774 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.538, allocations: 1.209 MB / 0.5786 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.538, allocations: 0 / 0.5786 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.5382, allocations: 39.92 kB / 0.5786 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/0.5391, allocations: 201.5 kB / 0.5788 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.5391, allocations: 12 kB / 0.5788 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.5404, allocations: 1.288 MB / 0.5801 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5405, allocations: 7.969 kB / 0.5801 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.5418, allocations: 0.8074 MB / 0.5809 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.5421, allocations: 188.6 kB / 0.5811 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.032e-05/0.5422, allocations: 15.92 kB / 0.5811 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.5426, allocations: 12 kB / 0.5811 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.5427, allocations: 27.91 kB / 0.5811 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.5427, allocations: 28.11 kB / 0.5812 GB, free: 10.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000584/0.5433, allocations: 459 kB / 0.5816 GB, free: 10.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5433, allocations: 0 / 0.5816 GB, free: 10.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008685/0.5442, allocations: 251.7 kB / 0.5818 GB, free: 9.895 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.002304/0.5465, allocations: 1.535 MB / 0.5833 GB, free: 8.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.5477, allocations: 0.519 MB / 0.5838 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.5477, allocations: 4 kB / 0.5838 GB, free: 7.805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.5482, allocations: 223.7 kB / 0.5841 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.5498, allocations: 343.4 kB / 0.5844 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/0.5593, allocations: 6.138 MB / 0.5904 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.56, allocations: 0.9303 MB / 0.5913 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008515/0.5609, allocations: 257.8 kB / 0.5915 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.5613, allocations: 227.3 kB / 0.5918 GB, free: 15.33 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5613, allocations: 0 / 0.5918 GB, free: 15.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/0.621, allocations: 22.08 MB / 0.6133 GB, free: 9.566 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.83, allocations: 3.625 kB / 0.6133 GB, free: 9.566 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches