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.001126/0.001126, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001079/0.001079, allocations: 194 kB / 18.12 MB, free: 5.383 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.349/1.349, allocations: 222.9 MB / 241.8 MB, free: 15.42 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.2187/0.2187, allocations: 44.17 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 60.19 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1454, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03058/0.176, allocations: 25.9 MB / 494.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008096/0.1841, allocations: 4.542 MB / 499.1 MB, free: 152 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.1855, allocations: 31.75 kB / 499.1 MB, free: 120 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.1868, allocations: 250.6 kB / 499.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.1918, allocations: 1.432 MB / 0.4891 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.1956, allocations: 1.225 MB / 0.4903 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003592/0.1993, allocations: 2.706 MB / 0.4929 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009442/0.2002, allocations: 413 kB / 0.4933 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006261/0.2065, allocations: 3.238 MB / 0.4965 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.2093, allocations: 1.395 MB / 0.4978 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.2096, allocations: 36 kB / 0.4979 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.2127, allocations: 1.252 MB / 0.4991 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005149/0.2132, allocations: 247.2 kB / 0.4993 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.2143, allocations: 374.2 kB / 0.4997 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.2176, allocations: 1.344 MB / 0.501 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2177, allocations: 0 / 0.501 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2177, allocations: 0 / 0.501 GB, free: 2.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.596e-05/0.2177, allocations: 0 / 0.501 GB, free: 2.207 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.003322/0.2211, allocations: 1.122 MB / 0.5021 GB, free: 1.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.2211, allocations: 11.97 kB / 0.5021 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.2213, allocations: 106.6 kB / 0.5022 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.2225, allocations: 143.9 kB / 0.5023 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2236, allocations: 0.5093 MB / 0.5028 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.2238, allocations: 108.5 kB / 0.5029 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.224, allocations: 52 kB / 0.503 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2708/0.4947, allocations: 0.8273 MB / 0.5038 GB, free: 52.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.4948, allocations: 3.844 kB / 0.5038 GB, free: 52.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-05/0.4949, allocations: 24.5 kB / 0.5038 GB, free: 52.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-05/0.495, allocations: 38.77 kB / 0.5038 GB, free: 52.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.4963, allocations: 0.6071 MB / 0.5044 GB, free: 52.43 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.004827/0.5011, allocations: 4.683 MB / 0.509 GB, free: 48.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.5019, allocations: 329.4 kB / 0.5093 GB, free: 48.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.5021, allocations: 140 kB / 0.5095 GB, free: 48.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.5023, allocations: 420.6 kB / 0.5099 GB, free: 47.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.5024, allocations: 41.78 kB / 0.5099 GB, free: 47.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.165e-06/0.5024, allocations: 3.938 kB / 0.5099 GB, free: 47.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00395/0.5063, allocations: 1.525 MB / 0.5114 GB, free: 47.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.5064, allocations: 141.8 kB / 0.5115 GB, free: 46.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007843/0.5072, allocations: 0.6504 MB / 0.5122 GB, free: 46.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.5072, allocations: 36.88 kB / 0.5122 GB, free: 46.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.5075, allocations: 387.9 kB / 0.5126 GB, free: 46.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/0.5076, allocations: 136.4 kB / 0.5127 GB, free: 46.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.5078, allocations: 149.9 kB / 0.5128 GB, free: 46.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5079, allocations: 380.2 kB / 0.5132 GB, free: 45.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.5083, allocations: 201 kB / 0.5134 GB, free: 45.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.5088, allocations: 0.4977 MB / 0.5139 GB, free: 45.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.5096, allocations: 0.714 MB / 0.5146 GB, free: 44.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5096, allocations: 3.875 kB / 0.5146 GB, free: 44.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001557/0.5111, allocations: 0.8866 MB / 0.5154 GB, free: 44.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5112, allocations: 13.02 kB / 0.5155 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.5112, allocations: 12.53 kB / 0.5155 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.5125, allocations: 279.3 kB / 0.5157 GB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.5129, allocations: 122.7 kB / 0.5159 GB, free: 44.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.5139, allocations: 1.394 MB / 0.5172 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.5144, allocations: 36.89 kB / 0.5173 GB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.5145, allocations: 46.88 kB / 0.5173 GB, free: 43.06 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.0003069/0.5148, allocations: 248 kB / 0.5175 GB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.5149, allocations: 71.09 kB / 0.5176 GB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.5166, allocations: 0.7227 MB / 0.5183 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5167, allocations: 3.812 kB / 0.5183 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5167, allocations: 0.5625 kB / 0.5183 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5167, allocations: 2.812 kB / 0.5183 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.5188, allocations: 1.215 MB / 0.5195 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5189, allocations: 1.219 kB / 0.5195 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.519, allocations: 40.97 kB / 0.5195 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008334/0.5199, allocations: 203.1 kB / 0.5197 GB, free: 41.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.5199, allocations: 13.05 kB / 0.5197 GB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007987/0.5207, allocations: 1.298 MB / 0.521 GB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5207, allocations: 1.062 kB / 0.521 GB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.522, allocations: 0.8075 MB / 0.5218 GB, free: 40.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.5222, allocations: 188.8 kB / 0.522 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.5223, allocations: 7.984 kB / 0.522 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.5228, allocations: 20.05 kB / 0.522 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.5229, allocations: 23.7 kB / 0.522 GB, free: 40.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.5229, allocations: 22.92 kB / 0.5221 GB, free: 40.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005541/0.5235, allocations: 459.4 kB / 0.5225 GB, free: 39.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5235, allocations: 0 / 0.5225 GB, free: 39.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009371/0.5244, allocations: 254 kB / 0.5227 GB, free: 39.88 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.002153/0.5266, allocations: 1.524 MB / 0.5242 GB, free: 38.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.5277, allocations: 0.5137 MB / 0.5247 GB, free: 38.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5277, allocations: 5.375 kB / 0.5247 GB, free: 38.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.5283, allocations: 217 kB / 0.5249 GB, free: 38.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.5297, allocations: 326.3 kB / 0.5253 GB, free: 38.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007507/0.5372, allocations: 6.544 MB / 0.5316 GB, free: 33.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.5375, allocations: 0.9398 MB / 0.5326 GB, free: 33.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006966/0.5382, allocations: 260.6 kB / 0.5328 GB, free: 33.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.5385, allocations: 227.9 kB / 0.533 GB, free: 32.86 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5385, allocations: 1.719 kB / 0.533 GB, free: 32.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.572, allocations: 21.06 MB / 0.5536 GB, free: 12.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.5723, allocations: 314.4 kB / 0.5539 GB, free: 12.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.926, allocations: 64 / 0.5539 GB, free: 12.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