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.001113/0.001114, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001143/0.001143, allocations: 192 kB / 18.56 MB, free: 4.434 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.445/1.445, allocations: 222.9 MB / 242.3 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.2465/0.2465, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 70.88 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1287, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03095/0.1597, allocations: 25.01 MB / 494.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006913/0.1667, allocations: 4.363 MB / 498.7 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.1675, allocations: 19.88 kB / 498.8 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1687, allocations: 302 kB / 499.1 MB, free: 460 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005001/0.1737, allocations: 1.571 MB / 0.4889 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.177, allocations: 1.333 MB / 0.4902 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.1797, allocations: 1.841 MB / 0.492 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007281/0.1804, allocations: 485.3 kB / 0.4925 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005296/0.1857, allocations: 3.031 MB / 0.4954 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.1877, allocations: 1.266 MB / 0.4967 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.1879, allocations: 60 kB / 0.4967 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.1903, allocations: 1.193 MB / 0.4979 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.1906, allocations: 263.3 kB / 0.4981 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.1911, allocations: 414.1 kB / 0.4985 GB, free: 5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.193, allocations: 1.356 MB / 0.4998 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.193, allocations: 0 / 0.4998 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1931, allocations: 0 / 0.4998 GB, free: 3.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.1931, allocations: 0 / 0.4998 GB, free: 3.641 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.002385/0.1955, allocations: 1.133 MB / 0.5009 GB, free: 2.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1955, allocations: 12.03 kB / 0.501 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.1957, allocations: 106.6 kB / 0.5011 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.1967, allocations: 140 kB / 0.5012 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008123/0.1975, allocations: 0.5015 MB / 0.5017 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.1977, allocations: 112.5 kB / 0.5018 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/0.1978, allocations: 52 kB / 0.5018 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1992, allocations: 0.8317 MB / 0.5027 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.1992, allocations: 11.84 kB / 0.5027 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/0.1993, allocations: 27.98 kB / 0.5027 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.1993, allocations: 36.98 kB / 0.5027 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2277/0.427, allocations: 0.5986 MB / 0.5033 GB, free: 52.31 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.004855/0.4319, allocations: 4.686 MB / 0.5079 GB, free: 48.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.4326, allocations: 338.1 kB / 0.5082 GB, free: 48.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.4328, allocations: 140.4 kB / 0.5083 GB, free: 48.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.4331, allocations: 419.6 kB / 0.5087 GB, free: 48.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4331, allocations: 41.8 kB / 0.5088 GB, free: 48.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.245e-06/0.4331, allocations: 0 / 0.5088 GB, free: 48.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004013/0.4371, allocations: 1.527 MB / 0.5103 GB, free: 47.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4372, allocations: 135 kB / 0.5104 GB, free: 47.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.438, allocations: 0.6536 MB / 0.511 GB, free: 46.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.438, allocations: 39.75 kB / 0.5111 GB, free: 46.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.4383, allocations: 388.3 kB / 0.5115 GB, free: 46.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.246e-05/0.4384, allocations: 132.3 kB / 0.5116 GB, free: 46.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.4386, allocations: 150.7 kB / 0.5117 GB, free: 46.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4387, allocations: 381 kB / 0.5121 GB, free: 46.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.439, allocations: 201 kB / 0.5123 GB, free: 45.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.4395, allocations: 0.4988 MB / 0.5128 GB, free: 45.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/0.4404, allocations: 0.7126 MB / 0.5135 GB, free: 44.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4404, allocations: 4.469 kB / 0.5135 GB, free: 44.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001689/0.4421, allocations: 0.8932 MB / 0.5143 GB, free: 44.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.4421, allocations: 9.578 kB / 0.5143 GB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4421, allocations: 9.75 kB / 0.5144 GB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.4434, allocations: 281.2 kB / 0.5146 GB, free: 44.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.4438, allocations: 126.6 kB / 0.5147 GB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.4448, allocations: 1.393 MB / 0.5161 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.4453, allocations: 26.94 kB / 0.5161 GB, free: 43.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.4454, allocations: 48.31 kB / 0.5162 GB, free: 43.34 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.000395/0.4458, allocations: 242 kB / 0.5164 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.446, allocations: 71.06 kB / 0.5165 GB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.4478, allocations: 0.7202 MB / 0.5172 GB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.4478, allocations: 5.688 kB / 0.5172 GB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4479, allocations: 0 / 0.5172 GB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.4479, allocations: 7.844 kB / 0.5172 GB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.4502, allocations: 1.21 MB / 0.5184 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4502, allocations: 0.75 kB / 0.5184 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.4504, allocations: 40.69 kB / 0.5184 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009185/0.4513, allocations: 201.1 kB / 0.5186 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.4513, allocations: 13.42 kB / 0.5186 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.4525, allocations: 1.304 MB / 0.5199 GB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4525, allocations: 0.625 kB / 0.5199 GB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.4542, allocations: 0.8062 MB / 0.5207 GB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.4545, allocations: 184.8 kB / 0.5209 GB, free: 40.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.4546, allocations: 7.734 kB / 0.5209 GB, free: 40.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.455, allocations: 18.34 kB / 0.5209 GB, free: 40.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.4551, allocations: 28.06 kB / 0.5209 GB, free: 40.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.4552, allocations: 22.73 kB / 0.5209 GB, free: 40.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005858/0.4557, allocations: 457.6 kB / 0.5214 GB, free: 40.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4558, allocations: 5.219 kB / 0.5214 GB, free: 40.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009642/0.4567, allocations: 250.8 kB / 0.5216 GB, free: 40.14 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.001945/0.4587, allocations: 1.53 MB / 0.5231 GB, free: 39.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.4599, allocations: 0.5535 MB / 0.5236 GB, free: 39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4599, allocations: 1.062 kB / 0.5236 GB, free: 39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.4604, allocations: 225 kB / 0.5239 GB, free: 38.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.4619, allocations: 329.9 kB / 0.5242 GB, free: 38.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007297/0.4692, allocations: 6.351 MB / 0.5304 GB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4696, allocations: 0.9367 MB / 0.5313 GB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007748/0.4704, allocations: 262.7 kB / 0.5315 GB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.4706, allocations: 227.6 kB / 0.5318 GB, free: 33.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4706, allocations: 0 / 0.5318 GB, free: 33.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.5114, allocations: 21.79 MB / 0.553 GB, free: 13.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.08, allocations: 7.125 kB / 0.553 GB, free: 13.24 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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