Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001168/0.001167, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 79.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3884, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02898/0.4175, allocations: 25.08 MB / 0.555 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006724/0.4242, allocations: 4.38 MB / 0.5593 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/0.4251, allocations: 19.88 kB / 0.5593 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.4262, allocations: 298.1 kB / 0.5596 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.4305, allocations: 1.601 MB / 0.5612 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.4338, allocations: 1.345 MB / 0.5625 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.4361, allocations: 1.86 MB / 0.5643 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000667/0.4368, allocations: 485.2 kB / 0.5648 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.4418, allocations: 3.044 MB / 0.5677 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.4439, allocations: 1.293 MB / 0.569 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.4441, allocations: 64 kB / 0.5691 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.4466, allocations: 1.24 MB / 0.5703 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.4469, allocations: 267.2 kB / 0.5705 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.4474, allocations: 398.2 kB / 0.5709 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.4495, allocations: 1.382 MB / 0.5722 GB, free: 6.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4495, allocations: 4 kB / 0.5723 GB, free: 6.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4495, allocations: 0 / 0.5723 GB, free: 6.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.4495, allocations: 0 / 0.5723 GB, free: 6.914 MB / 430.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.002069/0.4516, allocations: 1.144 MB / 0.5734 GB, free: 5.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4516, allocations: 8.031 kB / 0.5734 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.4518, allocations: 102.7 kB / 0.5735 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.4527, allocations: 144.4 kB / 0.5736 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.4536, allocations: 0.5485 MB / 0.5741 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.4538, allocations: 108.5 kB / 0.5743 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.4539, allocations: 52 kB / 0.5743 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.4553, allocations: 0.82 MB / 0.5751 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.4553, allocations: 19.88 kB / 0.5751 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.4554, allocations: 23.98 kB / 0.5751 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-05/0.4555, allocations: 44.97 kB / 0.5752 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.4566, allocations: 0.597 MB / 0.5758 GB, free: 3.117 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.005013/0.4616, allocations: 4.695 MB / 0.5804 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.4622, allocations: 322.7 kB / 0.5807 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.4625, allocations: 140.8 kB / 0.5808 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.4628, allocations: 425.5 kB / 0.5812 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4629, allocations: 38.56 kB / 0.5812 GB, free: 13.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.4629, allocations: 0 / 0.5812 GB, free: 13.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.004015/0.4669, allocations: 1.536 MB / 0.5827 GB, free: 11.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.467, allocations: 136.5 kB / 0.5829 GB, free: 11.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.4678, allocations: 0.6642 MB / 0.5835 GB, free: 10.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.4679, allocations: 29.7 kB / 0.5835 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.4682, allocations: 399.6 kB / 0.5839 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4683, allocations: 134.8 kB / 0.5841 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.4686, allocations: 154.5 kB / 0.5842 GB, free: 9.852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4688, allocations: 378.8 kB / 0.5846 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.4691, allocations: 197.9 kB / 0.5848 GB, free: 9.281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.4698, allocations: 0.498 MB / 0.5852 GB, free: 8.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.4708, allocations: 0.7171 MB / 0.5859 GB, free: 7.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4708, allocations: 4 kB / 0.5859 GB, free: 7.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001673/0.4725, allocations: 0.8876 MB / 0.5868 GB, free: 6.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4725, allocations: 12 kB / 0.5868 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4725, allocations: 12 kB / 0.5868 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.4738, allocations: 282.1 kB / 0.5871 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.4742, allocations: 123.8 kB / 0.5872 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.4755, allocations: 1.405 MB / 0.5886 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.476, allocations: 27.98 kB / 0.5886 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.4761, allocations: 40 kB / 0.5887 GB, free: 4.957 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.000354/0.4765, allocations: 249.6 kB / 0.5889 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.4766, allocations: 75.52 kB / 0.589 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.4782, allocations: 0.7126 MB / 0.5897 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4782, allocations: 4 kB / 0.5897 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4782, allocations: 7.938 kB / 0.5897 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4782, allocations: 3.938 kB / 0.5897 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.4803, allocations: 1.209 MB / 0.5909 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4803, allocations: 0 / 0.5909 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.4805, allocations: 39.92 kB / 0.5909 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/0.4813, allocations: 213.5 kB / 0.5911 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.4814, allocations: 8 kB / 0.5911 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.4825, allocations: 1.296 MB / 0.5924 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4825, allocations: 3.938 kB / 0.5924 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.4838, allocations: 0.812 MB / 0.5932 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.4841, allocations: 188.8 kB / 0.5934 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.4843, allocations: 8 kB / 0.5934 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.4846, allocations: 15.98 kB / 0.5934 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.4847, allocations: 27.91 kB / 0.5934 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.4848, allocations: 19.98 kB / 0.5934 GB, free: 15.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005936/0.4854, allocations: 455 kB / 0.5939 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4854, allocations: 64 / 0.5939 GB, free: 15.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009152/0.4863, allocations: 259.7 kB / 0.5941 GB, free: 15.17 MB / 462.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.002223/0.4886, allocations: 1.528 MB / 0.5956 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.4897, allocations: 0.5201 MB / 0.5961 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4897, allocations: 8.125 kB / 0.5961 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.4902, allocations: 219.7 kB / 0.5963 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.4917, allocations: 343.6 kB / 0.5966 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/0.5007, allocations: 6.138 MB / 0.6026 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.5013, allocations: 0.9342 MB / 0.6036 GB, free: 5.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007169/0.502, allocations: 257.5 kB / 0.6038 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.5024, allocations: 231.3 kB / 0.604 GB, free: 4.602 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5024, allocations: 0 / 0.604 GB, free: 4.602 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05943/0.5618, allocations: 22.07 MB / 0.6256 GB, free: 14.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.66, allocations: 17.88 kB / 0.6256 GB, free: 14.81 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches