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.00128/0.00128, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001184/0.001184, allocations: 187.1 kB / 18.71 MB, free: 4.344 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.227/0.227, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4207, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.0339/0.4546, allocations: 25 MB / 0.5429 GB, free: 316 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007633/0.4623, allocations: 4.372 MB / 0.5471 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.4634, allocations: 19.16 kB / 0.5471 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.4646, allocations: 296.1 kB / 0.5474 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.4697, allocations: 1.574 MB / 0.549 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.4736, allocations: 1.331 MB / 0.5503 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004063/0.4777, allocations: 1.86 MB / 0.5521 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.4788, allocations: 467.8 kB / 0.5525 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005971/0.4848, allocations: 3.038 MB / 0.5555 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.4872, allocations: 1.266 MB / 0.5567 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002823/0.4875, allocations: 60 kB / 0.5568 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.4907, allocations: 1.24 MB / 0.558 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.4912, allocations: 259.3 kB / 0.5582 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.4923, allocations: 410.1 kB / 0.5586 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.4956, allocations: 1.371 MB / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4956, allocations: 0 / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4956, allocations: 0 / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.346e-05/0.4957, allocations: 0 / 0.56 GB, free: 1.48 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.00313/0.4988, allocations: 1.126 MB / 0.5611 GB, free: 312 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4989, allocations: 8.031 kB / 0.5611 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.4991, allocations: 98.7 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.5002, allocations: 144 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.5014, allocations: 0.5405 MB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.5015, allocations: 108.5 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5017, allocations: 51.98 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.5032, allocations: 0.8353 MB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.5032, allocations: 4 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.5033, allocations: 31.98 kB / 0.5628 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/0.5033, allocations: 44.91 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.5046, allocations: 0.6009 MB / 0.5635 GB, free: 13.7 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.005531/0.5101, allocations: 4.686 MB / 0.568 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.5108, allocations: 326.7 kB / 0.5684 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.511, allocations: 141.3 kB / 0.5685 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.5114, allocations: 421.5 kB / 0.5689 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.5114, allocations: 42.5 kB / 0.5689 GB, free: 7.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.5114, allocations: 0 / 0.5689 GB, free: 7.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004103/0.5155, allocations: 1.523 MB / 0.5704 GB, free: 6.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.5156, allocations: 140.5 kB / 0.5706 GB, free: 5.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.5166, allocations: 0.6525 MB / 0.5712 GB, free: 5.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.5166, allocations: 37.64 kB / 0.5712 GB, free: 5.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.517, allocations: 390.5 kB / 0.5716 GB, free: 4.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.5171, allocations: 134.2 kB / 0.5717 GB, free: 4.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.5173, allocations: 146.5 kB / 0.5719 GB, free: 4.473 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5175, allocations: 378.8 kB / 0.5722 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.5179, allocations: 201.9 kB / 0.5724 GB, free: 3.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.5185, allocations: 0.4978 MB / 0.5729 GB, free: 3.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.5195, allocations: 0.717 MB / 0.5736 GB, free: 2.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.5195, allocations: 4 kB / 0.5736 GB, free: 2.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001828/0.5213, allocations: 0.8948 MB / 0.5745 GB, free: 1.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.5214, allocations: 8 kB / 0.5745 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.5214, allocations: 8 kB / 0.5745 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.5228, allocations: 286.2 kB / 0.5748 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.5232, allocations: 123.8 kB / 0.5749 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.5246, allocations: 1.393 MB / 0.5763 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.5252, allocations: 31.98 kB / 0.5763 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.5253, allocations: 36 kB / 0.5763 GB, free: 15.58 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.0004086/0.5257, allocations: 255.8 kB / 0.5766 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5259, allocations: 71.09 kB / 0.5766 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.5275, allocations: 0.7171 MB / 0.5773 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5276, allocations: 4 kB / 0.5773 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.5276, allocations: 0 / 0.5773 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5276, allocations: 7.984 kB / 0.5773 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.5299, allocations: 1.201 MB / 0.5785 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5299, allocations: 0 / 0.5785 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.5301, allocations: 43.86 kB / 0.5786 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008829/0.531, allocations: 205.5 kB / 0.5788 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.531, allocations: 8 kB / 0.5788 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.5321, allocations: 1.296 MB / 0.58 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5321, allocations: 3.938 kB / 0.58 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.5334, allocations: 0.8149 MB / 0.5808 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.5338, allocations: 192.1 kB / 0.581 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.534, allocations: 4 kB / 0.581 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.5343, allocations: 16.05 kB / 0.581 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.5344, allocations: 27.97 kB / 0.5811 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.5345, allocations: 28.05 kB / 0.5811 GB, free: 10.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005919/0.5351, allocations: 451 kB / 0.5815 GB, free: 10.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5351, allocations: 0 / 0.5815 GB, free: 10.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001018/0.5361, allocations: 256 kB / 0.5818 GB, free: 9.805 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.002298/0.5384, allocations: 1.526 MB / 0.5832 GB, free: 8.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.5397, allocations: 0.519 MB / 0.5838 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5397, allocations: 3.938 kB / 0.5838 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005192/0.5402, allocations: 223.8 kB / 0.584 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5418, allocations: 339.8 kB / 0.5843 GB, free: 7.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00967/0.5515, allocations: 6.109 MB / 0.5903 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.5522, allocations: 0.9419 MB / 0.5912 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007718/0.553, allocations: 261.3 kB / 0.5914 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.5533, allocations: 227.3 kB / 0.5916 GB, free: 15.26 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5533, allocations: 0 / 0.5916 GB, free: 15.26 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/0.615, allocations: 22.4 MB / 0.6135 GB, free: 9.188 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.14, allocations: 10.23 kB / 0.6135 GB, free: 9.184 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