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.001278/0.001278, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001773/0.001773, allocations: 183 kB / 18.72 MB, free: 4.332 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.459/1.459, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2376/0.2376, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 60.09 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3966, 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.03014/0.4268, allocations: 25 MB / 0.5429 GB, free: 300 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007884/0.4347, allocations: 4.369 MB / 0.5471 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009752/0.4358, allocations: 19.5 kB / 0.5471 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.4369, allocations: 296.4 kB / 0.5474 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004618/0.4416, allocations: 1.577 MB / 0.549 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.4454, allocations: 1.335 MB / 0.5503 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003607/0.449, allocations: 1.84 MB / 0.5521 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.45, allocations: 487.4 kB / 0.5525 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006059/0.4561, allocations: 3.021 MB / 0.5555 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.4585, allocations: 1.278 MB / 0.5567 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.4588, allocations: 64 kB / 0.5568 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.4618, allocations: 1.229 MB / 0.558 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.4622, allocations: 271.2 kB / 0.5583 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007557/0.463, allocations: 402.1 kB / 0.5586 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.4659, allocations: 1.374 MB / 0.56 GB, free: 1.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4659, allocations: 0 / 0.56 GB, free: 1.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4659, allocations: 0 / 0.56 GB, free: 1.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.466, allocations: 0 / 0.56 GB, free: 1.477 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.002459/0.4684, allocations: 1.155 MB / 0.5611 GB, free: 276 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.4685, allocations: 8.031 kB / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.4686, allocations: 98.69 kB / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.4697, allocations: 148.4 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.4709, allocations: 0.5408 MB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.471, allocations: 108.5 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.4712, allocations: 48 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.4728, allocations: 0.8394 MB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.4729, allocations: 0 / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.473, allocations: 24 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.063e-05/0.4731, allocations: 44.92 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.4743, allocations: 0.6048 MB / 0.5635 GB, free: 13.67 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.005971/0.4803, allocations: 4.691 MB / 0.5681 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.4811, allocations: 330.6 kB / 0.5684 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.4813, allocations: 149.3 kB / 0.5685 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/0.4817, allocations: 421.5 kB / 0.5689 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.4818, allocations: 38.56 kB / 0.569 GB, free: 7.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.4818, allocations: 0 / 0.569 GB, free: 7.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004249/0.486, allocations: 1.532 MB / 0.5705 GB, free: 5.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.4861, allocations: 136.5 kB / 0.5706 GB, free: 5.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008586/0.487, allocations: 0.6603 MB / 0.5713 GB, free: 5.125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.487, allocations: 29.7 kB / 0.5713 GB, free: 5.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.4874, allocations: 403.6 kB / 0.5717 GB, free: 4.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.4875, allocations: 150.8 kB / 0.5718 GB, free: 4.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.4877, allocations: 146.6 kB / 0.5719 GB, free: 4.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4879, allocations: 374.8 kB / 0.5723 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.4883, allocations: 205.9 kB / 0.5725 GB, free: 3.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.489, allocations: 0.4978 MB / 0.573 GB, free: 3.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.49, allocations: 0.7131 MB / 0.5737 GB, free: 2.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.49, allocations: 4 kB / 0.5737 GB, free: 2.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001717/0.4917, allocations: 0.8959 MB / 0.5746 GB, free: 1.438 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4918, allocations: 12 kB / 0.5746 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.4918, allocations: 8 kB / 0.5746 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.4931, allocations: 284.7 kB / 0.5749 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.4935, allocations: 119.8 kB / 0.575 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.4949, allocations: 1.401 MB / 0.5763 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.4953, allocations: 24 kB / 0.5764 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.4954, allocations: 44 kB / 0.5764 GB, free: 15.5 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.0003555/0.4958, allocations: 247.8 kB / 0.5766 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.4959, allocations: 75.47 kB / 0.5767 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.4975, allocations: 0.7171 MB / 0.5774 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4976, allocations: 4.062 kB / 0.5774 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4976, allocations: 4 kB / 0.5774 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4976, allocations: 3.984 kB / 0.5774 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.4997, allocations: 1.205 MB / 0.5786 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4997, allocations: 0 / 0.5786 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4999, allocations: 47.91 kB / 0.5786 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008964/0.5008, allocations: 201.5 kB / 0.5788 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.5008, allocations: 15.98 kB / 0.5789 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.502, allocations: 1.296 MB / 0.5801 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.502, allocations: 3.938 kB / 0.5801 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.5033, allocations: 0.8034 MB / 0.5809 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.5037, allocations: 180.8 kB / 0.5811 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.5038, allocations: 19.94 kB / 0.5811 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.5042, allocations: 15.98 kB / 0.5811 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.5043, allocations: 23.97 kB / 0.5811 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/0.5043, allocations: 24.05 kB / 0.5812 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006049/0.5049, allocations: 451 kB / 0.5816 GB, free: 9.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5049, allocations: 0 / 0.5816 GB, free: 9.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008553/0.5058, allocations: 255.7 kB / 0.5818 GB, free: 9.73 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.00228/0.5081, allocations: 1.541 MB / 0.5833 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.5093, allocations: 0.5231 MB / 0.5838 GB, free: 7.633 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5093, allocations: 0 / 0.5838 GB, free: 7.633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.5098, allocations: 232.4 kB / 0.5841 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.5114, allocations: 328.3 kB / 0.5844 GB, free: 7.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.5214, allocations: 6.139 MB / 0.5904 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.5221, allocations: 0.9264 MB / 0.5913 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007935/0.5229, allocations: 257.8 kB / 0.5915 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.5233, allocations: 231.3 kB / 0.5917 GB, free: 15.16 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5233, allocations: 0 / 0.5917 GB, free: 15.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05995/0.5833, allocations: 22.09 MB / 0.6133 GB, free: 9.402 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.45, allocations: 4.062 kB / 0.6133 GB, free: 9.398 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 & 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