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.001154/0.001154, allocations: 117.1 kB / 17.78 MB, free: 5.246 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.00118/0.00118, allocations: 184.2 kB / 18.72 MB, free: 4.32 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.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2309/0.2309, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3982, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.0314/0.4297, allocations: 25.01 MB / 0.5429 GB, free: 324 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007443/0.4372, allocations: 4.361 MB / 0.5471 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007976/0.438, allocations: 20.44 kB / 0.5471 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009805/0.4391, allocations: 308 kB / 0.5474 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004337/0.4434, allocations: 1.595 MB / 0.549 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.447, allocations: 1.344 MB / 0.5503 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003204/0.4502, allocations: 1.853 MB / 0.5521 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008795/0.4511, allocations: 471.1 kB / 0.5526 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005492/0.4566, allocations: 3.039 MB / 0.5555 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.4588, allocations: 1.274 MB / 0.5568 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.459, allocations: 60 kB / 0.5568 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.4616, allocations: 1.248 MB / 0.558 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.462, allocations: 255.3 kB / 0.5583 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005821/0.4625, allocations: 406.2 kB / 0.5587 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.4649, allocations: 1.378 MB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4649, allocations: 0 / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4649, allocations: 0 / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4649, allocations: 0 / 0.56 GB, free: 1.457 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.002272/0.4672, allocations: 1.152 MB / 0.5612 GB, free: 260 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4673, allocations: 12.03 kB / 0.5612 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.4674, allocations: 102.7 kB / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.4684, allocations: 146.9 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009845/0.4694, allocations: 0.537 MB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.4696, allocations: 106.1 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.703e-05/0.4697, allocations: 51.95 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.4712, allocations: 0.8317 MB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.4712, allocations: 7.938 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.4713, allocations: 31.92 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/0.4713, allocations: 44.97 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.4725, allocations: 0.6048 MB / 0.5636 GB, free: 13.64 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.005244/0.4778, allocations: 4.687 MB / 0.5681 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.4785, allocations: 328.9 kB / 0.5684 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.4787, allocations: 141.3 kB / 0.5686 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.479, allocations: 429.4 kB / 0.569 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.4791, allocations: 38.56 kB / 0.569 GB, free: 7.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.4791, allocations: 4 kB / 0.569 GB, free: 7.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004106/0.4832, allocations: 1.525 MB / 0.5705 GB, free: 5.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.4833, allocations: 132.5 kB / 0.5706 GB, free: 5.781 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.4841, allocations: 0.6525 MB / 0.5713 GB, free: 5.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.4842, allocations: 41.64 kB / 0.5713 GB, free: 5.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.4845, allocations: 407.6 kB / 0.5717 GB, free: 4.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.4846, allocations: 134.8 kB / 0.5718 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.4848, allocations: 158.5 kB / 0.572 GB, free: 4.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.485, allocations: 378.7 kB / 0.5724 GB, free: 4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.4853, allocations: 201.9 kB / 0.5725 GB, free: 3.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.4859, allocations: 0.4978 MB / 0.573 GB, free: 3.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.4868, allocations: 0.7248 MB / 0.5737 GB, free: 2.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4868, allocations: 0 / 0.5737 GB, free: 2.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0016/0.4884, allocations: 0.8842 MB / 0.5746 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4884, allocations: 8 kB / 0.5746 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4885, allocations: 12 kB / 0.5746 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.4897, allocations: 289.6 kB / 0.5749 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.4901, allocations: 119.8 kB / 0.575 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.4914, allocations: 1.401 MB / 0.5764 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.4919, allocations: 27.94 kB / 0.5764 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/0.492, allocations: 47.98 kB / 0.5765 GB, free: 15.48 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.0003254/0.4923, allocations: 237.5 kB / 0.5767 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4924, allocations: 71.58 kB / 0.5768 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.494, allocations: 0.7208 MB / 0.5775 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.494, allocations: 4 kB / 0.5775 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.494, allocations: 7.922 kB / 0.5775 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.494, allocations: 4 kB / 0.5775 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.4961, allocations: 1.213 MB / 0.5787 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.4961, allocations: 3.984 kB / 0.5787 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.4963, allocations: 39.92 kB / 0.5787 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000863/0.4971, allocations: 197.5 kB / 0.5789 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.4972, allocations: 15.98 kB / 0.5789 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.4983, allocations: 1.296 MB / 0.5802 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4983, allocations: 4.031 kB / 0.5802 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4997, allocations: 0.8074 MB / 0.581 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.5, allocations: 188.6 kB / 0.5811 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.5001, allocations: 8 kB / 0.5811 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.5005, allocations: 23.98 kB / 0.5812 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.5006, allocations: 27.91 kB / 0.5812 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.5006, allocations: 19.98 kB / 0.5812 GB, free: 10.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005812/0.5012, allocations: 459 kB / 0.5817 GB, free: 9.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5012, allocations: 0 / 0.5817 GB, free: 9.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009652/0.5022, allocations: 251.7 kB / 0.5819 GB, free: 9.703 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.002228/0.5044, allocations: 1.534 MB / 0.5834 GB, free: 8.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.5056, allocations: 0.5197 MB / 0.5839 GB, free: 7.613 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5056, allocations: 7.938 kB / 0.5839 GB, free: 7.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004952/0.5061, allocations: 219.9 kB / 0.5841 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.5078, allocations: 323.7 kB / 0.5844 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.5166, allocations: 6.143 MB / 0.5904 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.5172, allocations: 0.9264 MB / 0.5913 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000759/0.518, allocations: 261.5 kB / 0.5916 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.5183, allocations: 227.3 kB / 0.5918 GB, free: 15.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.683e-06/0.5183, allocations: 0 / 0.5918 GB, free: 15.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05408/0.5724, allocations: 22.09 MB / 0.6134 GB, free: 9.387 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.99, allocations: 1.75 kB / 0.6134 GB, free: 9.387 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