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.001404/0.001404, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001791/0.001791, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1918/0.1918, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 73.3 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 60.81 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02667/0.1421, allocations: 25.01 MB / 494.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00634/0.1485, allocations: 4.37 MB / 498.7 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/0.1492, allocations: 19.88 kB / 498.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008864/0.1502, allocations: 298 kB / 499.1 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.1541, allocations: 1.572 MB / 0.4889 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.1572, allocations: 1.335 MB / 0.4902 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.1595, allocations: 1.844 MB / 0.492 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007087/0.1602, allocations: 485.3 kB / 0.4925 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00498/0.1652, allocations: 3.028 MB / 0.4954 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.1675, allocations: 1.266 MB / 0.4967 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002486/0.1677, allocations: 60 kB / 0.4967 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.1703, allocations: 1.193 MB / 0.4979 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.1708, allocations: 271.2 kB / 0.4981 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008542/0.1716, allocations: 398.2 kB / 0.4985 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.1742, allocations: 1.367 MB / 0.4998 GB, free: 3.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1742, allocations: 0 / 0.4998 GB, free: 3.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1742, allocations: 0 / 0.4998 GB, free: 3.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.1743, allocations: 0 / 0.4998 GB, free: 3.656 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.002631/0.1769, allocations: 1.13 MB / 0.501 GB, free: 2.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.177, allocations: 11.97 kB / 0.501 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.1771, allocations: 102.7 kB / 0.5011 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.1782, allocations: 140 kB / 0.5012 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.179, allocations: 0.5093 MB / 0.5017 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.1792, allocations: 104.5 kB / 0.5018 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.1793, allocations: 48 kB / 0.5018 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.1807, allocations: 0.8395 MB / 0.5027 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.1807, allocations: 11.84 kB / 0.5027 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.1808, allocations: 28 kB / 0.5027 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.181, allocations: 36.98 kB / 0.5027 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2113/0.3922, allocations: 0.6004 MB / 0.5033 GB, free: 52.23 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.005288/0.3976, allocations: 4.682 MB / 0.5079 GB, free: 48.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.3983, allocations: 335.3 kB / 0.5082 GB, free: 48.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.3986, allocations: 139.6 kB / 0.5083 GB, free: 48.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.3988, allocations: 420.2 kB / 0.5087 GB, free: 48.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3989, allocations: 41.81 kB / 0.5088 GB, free: 48.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.725e-06/0.3989, allocations: 1.125 kB / 0.5088 GB, free: 48.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004256/0.4032, allocations: 1.526 MB / 0.5103 GB, free: 47.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.4032, allocations: 133.7 kB / 0.5104 GB, free: 47.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009691/0.4042, allocations: 0.6581 MB / 0.511 GB, free: 46.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.4043, allocations: 37.36 kB / 0.5111 GB, free: 46.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.4045, allocations: 389.1 kB / 0.5114 GB, free: 46.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4046, allocations: 136.6 kB / 0.5116 GB, free: 46.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.4048, allocations: 150.9 kB / 0.5117 GB, free: 46.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.405, allocations: 383.2 kB / 0.5121 GB, free: 45.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.4054, allocations: 200.9 kB / 0.5123 GB, free: 45.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.4059, allocations: 0.5004 MB / 0.5128 GB, free: 45.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.4068, allocations: 0.7146 MB / 0.5135 GB, free: 44.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.4068, allocations: 3.719 kB / 0.5135 GB, free: 44.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001701/0.4085, allocations: 0.8865 MB / 0.5143 GB, free: 44.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4085, allocations: 8.938 kB / 0.5143 GB, free: 44.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.4085, allocations: 9.906 kB / 0.5144 GB, free: 44.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4099, allocations: 279.8 kB / 0.5146 GB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.4103, allocations: 128 kB / 0.5147 GB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.4114, allocations: 1.388 MB / 0.5161 GB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.4119, allocations: 27.17 kB / 0.5161 GB, free: 43.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/0.412, allocations: 48.77 kB / 0.5162 GB, free: 43.27 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.0004313/0.4125, allocations: 245.6 kB / 0.5164 GB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.4127, allocations: 69.91 kB / 0.5165 GB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.4146, allocations: 0.7228 MB / 0.5172 GB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4146, allocations: 2.688 kB / 0.5172 GB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4146, allocations: 1.984 kB / 0.5172 GB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4146, allocations: 5.484 kB / 0.5172 GB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.4167, allocations: 1.215 MB / 0.5184 GB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4167, allocations: 3.125 kB / 0.5184 GB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.4169, allocations: 37.3 kB / 0.5184 GB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008384/0.4178, allocations: 199.6 kB / 0.5186 GB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.4178, allocations: 13.41 kB / 0.5186 GB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.4189, allocations: 1.303 MB / 0.5199 GB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4189, allocations: 1.031 kB / 0.5199 GB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.4206, allocations: 0.8097 MB / 0.5207 GB, free: 40.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.4209, allocations: 181.3 kB / 0.5209 GB, free: 40.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.421, allocations: 15.86 kB / 0.5209 GB, free: 40.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.4213, allocations: 17.41 kB / 0.5209 GB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.4214, allocations: 29 kB / 0.5209 GB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.4215, allocations: 26.41 kB / 0.5209 GB, free: 40.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006918/0.4222, allocations: 454.3 kB / 0.5214 GB, free: 40.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4222, allocations: 0 / 0.5214 GB, free: 40.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001428/0.4236, allocations: 252.8 kB / 0.5216 GB, free: 40.07 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.002322/0.426, allocations: 1.525 MB / 0.5231 GB, free: 39.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4274, allocations: 0.5496 MB / 0.5236 GB, free: 38.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4274, allocations: 1.125 kB / 0.5236 GB, free: 38.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.428, allocations: 223.9 kB / 0.5239 GB, free: 38.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.4297, allocations: 334.9 kB / 0.5242 GB, free: 38.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007811/0.4375, allocations: 6.354 MB / 0.5304 GB, free: 34.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.4379, allocations: 0.9361 MB / 0.5313 GB, free: 33.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007601/0.4386, allocations: 257.8 kB / 0.5315 GB, free: 33.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.4389, allocations: 226.6 kB / 0.5318 GB, free: 33.51 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4389, allocations: 0 / 0.5318 GB, free: 33.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.4763, allocations: 21.79 MB / 0.553 GB, free: 13.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.83, allocations: 8.375 kB / 0.553 GB, free: 13.13 MB / 382.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