Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001795/0.001795, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.002159, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 79.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.456, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03013/0.4862, allocations: 25.05 MB / 0.555 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006725/0.493, allocations: 4.382 MB / 0.5593 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007611/0.4938, allocations: 27.81 kB / 0.5593 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.4947, allocations: 298.1 kB / 0.5596 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.4985, allocations: 1.646 MB / 0.5612 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.5017, allocations: 1.388 MB / 0.5625 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.5039, allocations: 1.86 MB / 0.5644 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006603/0.5046, allocations: 497.2 kB / 0.5648 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005525/0.5102, allocations: 3.375 MB / 0.5681 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.513, allocations: 1.418 MB / 0.5695 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.5132, allocations: 60 kB / 0.5696 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.5158, allocations: 1.326 MB / 0.5709 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.5161, allocations: 263.2 kB / 0.5711 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.5169, allocations: 398.2 kB / 0.5715 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.52, allocations: 1.386 MB / 0.5729 GB, free: 6.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.52, allocations: 4 kB / 0.5729 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.52, allocations: 0 / 0.5729 GB, free: 6.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.247e-05/0.5201, allocations: 0 / 0.5729 GB, free: 6.344 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.003025/0.5231, allocations: 1.148 MB / 0.574 GB, free: 5.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.5232, allocations: 8.031 kB / 0.574 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.5233, allocations: 98.69 kB / 0.5741 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.5244, allocations: 144.4 kB / 0.5742 GB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009629/0.5253, allocations: 0.5447 MB / 0.5748 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.5255, allocations: 108.5 kB / 0.5749 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.5256, allocations: 52 kB / 0.5749 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.5269, allocations: 0.8278 MB / 0.5757 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.527, allocations: 11.89 kB / 0.5757 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.5271, allocations: 24 kB / 0.5757 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/0.5271, allocations: 48.91 kB / 0.5758 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5283, allocations: 0.597 MB / 0.5764 GB, free: 2.547 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.004942/0.5332, allocations: 4.691 MB / 0.581 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.5339, allocations: 328.8 kB / 0.5813 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.5341, allocations: 140.8 kB / 0.5814 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.5344, allocations: 421.5 kB / 0.5818 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.5345, allocations: 38.56 kB / 0.5818 GB, free: 12.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/0.5345, allocations: 0 / 0.5818 GB, free: 12.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.00405/0.5385, allocations: 1.535 MB / 0.5833 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.5386, allocations: 136.5 kB / 0.5835 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.5394, allocations: 0.6603 MB / 0.5841 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.5395, allocations: 29.7 kB / 0.5841 GB, free: 9.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.5398, allocations: 403.6 kB / 0.5845 GB, free: 9.574 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5399, allocations: 134.8 kB / 0.5847 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.5401, allocations: 154.5 kB / 0.5848 GB, free: 9.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5403, allocations: 378.8 kB / 0.5852 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.5406, allocations: 197.9 kB / 0.5854 GB, free: 8.715 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.5412, allocations: 0.5058 MB / 0.5859 GB, free: 8.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.5421, allocations: 0.7093 MB / 0.5865 GB, free: 7.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5421, allocations: 4 kB / 0.5865 GB, free: 7.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001654/0.5438, allocations: 0.8915 MB / 0.5874 GB, free: 6.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.5438, allocations: 12 kB / 0.5874 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.5439, allocations: 11.98 kB / 0.5874 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.5452, allocations: 278.1 kB / 0.5877 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.5455, allocations: 123.8 kB / 0.5878 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.5471, allocations: 1.403 MB / 0.5892 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.5476, allocations: 27.98 kB / 0.5892 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.5477, allocations: 40.06 kB / 0.5893 GB, free: 4.391 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.000349/0.5481, allocations: 249.6 kB / 0.5895 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.5482, allocations: 83.5 kB / 0.5896 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.5498, allocations: 0.7011 MB / 0.5903 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5498, allocations: 4 kB / 0.5903 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5499, allocations: 4 kB / 0.5903 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.5499, allocations: 0 / 0.5903 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.5519, allocations: 1.212 MB / 0.5915 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5519, allocations: 3.938 kB / 0.5915 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.5521, allocations: 39.98 kB / 0.5915 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008656/0.5529, allocations: 213.4 kB / 0.5917 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.553, allocations: 8 kB / 0.5917 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.5541, allocations: 1.296 MB / 0.593 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5541, allocations: 3.938 kB / 0.593 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.5555, allocations: 0.816 MB / 0.5938 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.5559, allocations: 188.6 kB / 0.594 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.556, allocations: 8 kB / 0.594 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.5564, allocations: 19.98 kB / 0.594 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.5565, allocations: 27.91 kB / 0.594 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.5566, allocations: 15.98 kB / 0.594 GB, free: 15.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006002/0.5572, allocations: 459.1 kB / 0.5945 GB, free: 14.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5572, allocations: 0 / 0.5945 GB, free: 14.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009811/0.5582, allocations: 255.7 kB / 0.5947 GB, free: 14.61 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.00236/0.5605, allocations: 1.532 MB / 0.5962 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.5617, allocations: 0.5266 MB / 0.5967 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5617, allocations: 7.938 kB / 0.5967 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.5622, allocations: 219.7 kB / 0.5969 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.5638, allocations: 341 kB / 0.5973 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009197/0.573, allocations: 6.138 MB / 0.6032 GB, free: 5.465 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.5736, allocations: 0.9303 MB / 0.6042 GB, free: 4.504 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007657/0.5744, allocations: 256.6 kB / 0.6044 GB, free: 4.254 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.5747, allocations: 223.4 kB / 0.6046 GB, free: 4.039 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5748, allocations: 0 / 0.6046 GB, free: 4.039 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/0.6289, allocations: 22.08 MB / 0.6262 GB, free: 14.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.95, allocations: 16.39 kB / 0.6262 GB, free: 14.27 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_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_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches