Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.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) 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: translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002276/0.002275, allocations: 113.5 kB / 17.69 MB, free: 5.309 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.002114/0.002114, allocations: 191 kB / 18.63 MB, free: 4.375 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.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 51.39 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1089, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.199/0.3079, allocations: 28.67 MB / 380.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.3253, allocations: 15.02 MB / 395.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.3271, allocations: 41.97 kB / 395.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.3287, allocations: 0.5902 MB / 395.8 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005666/0.3344, allocations: 2.288 MB / 398.1 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.3445, allocations: 3.739 MB / 401.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00587/0.3504, allocations: 4.133 MB / 406 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.3522, allocations: 1.163 MB / 407.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.3555, allocations: 1.546 MB / 408.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/0.3587, allocations: 1.66 MB / 410.3 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003528/0.3591, allocations: 161.1 kB / 410.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006216/0.3653, allocations: 2.429 MB / 412.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.3663, allocations: 0.6116 MB / 413.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.3678, allocations: 0.8711 MB / 414.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006789/0.3746, allocations: 3.725 MB / 418.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3747, allocations: 0 / 418.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3747, allocations: 0 / 418.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.3747, allocations: 0 / 418.1 MB, free: 1.859 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.005091/0.3798, allocations: 2.208 MB / 420.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3798, allocations: 15.89 kB / 420.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/0.3804, allocations: 178.1 kB / 420.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.3821, allocations: 1.054 MB / 421.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3823, allocations: 183 kB / 421.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3825, allocations: 99.91 kB / 421.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.3851, allocations: 1.757 MB / 423.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.3852, allocations: 0 / 423.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.3853, allocations: 43.97 kB / 423.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/0.3855, allocations: 113.4 kB / 423.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.3881, allocations: 1.788 MB / 425.6 MB, free: 10.25 MB / 334.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.01092/0.399, allocations: 6.707 MB / 432.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.4009, allocations: 1.245 MB / 433.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.402, allocations: 0.7651 MB / 434.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005568/0.4076, allocations: 4.267 MB / 438.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4076, allocations: 47.56 kB / 438.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007084/0.4083, allocations: 166.8 kB / 438.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.125e-06/0.4083, allocations: 0 / 438.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=112): time 0.01778/0.4261, allocations: 5.687 MB / 444.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.4263, allocations: 145.5 kB / 444.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.428, allocations: 1.257 MB / 445.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.4281, allocations: 45.7 kB / 445.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.4286, allocations: 0.6168 MB / 446.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.4289, allocations: 386.5 kB / 446.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/0.4294, allocations: 287.4 kB / 447.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4295, allocations: 313.1 kB / 447.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.4306, allocations: 0.7153 MB / 448.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.432, allocations: 1.068 MB / 449.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.4344, allocations: 1.743 MB / 451 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4344, allocations: 4 kB / 451 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00376/0.4382, allocations: 2.285 MB / 453.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.4382, allocations: 15.94 kB / 453.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.4382, allocations: 12 kB / 453.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/0.4451, allocations: 1.277 MB / 454.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.4465, allocations: 299.5 kB / 454.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.4489, allocations: 1.602 MB / 456.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.4503, allocations: 59.95 kB / 456.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.4504, allocations: 71.97 kB / 456.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001526/0.452, allocations: 0.9762 MB / 457.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001299/0.4533, allocations: 1.059 MB / 458.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002295/0.4556, allocations: 1.714 MB / 460.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.578e-06/0.4556, allocations: 8.094 kB / 460.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.003706/0.4593, allocations: 2.202 MB / 462.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4593, allocations: 8 kB / 462.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.4594, allocations: 12.62 kB / 462.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/0.4655, allocations: 1.107 MB / 463.7 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.467, allocations: 303.5 kB / 464 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.4689, allocations: 1.452 MB / 465.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.4703, allocations: 63.97 kB / 465.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.4704, allocations: 67.97 kB / 465.6 MB, free: 0.6758 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.000505/0.471, allocations: 275.8 kB / 465.8 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.4713, allocations: 143.3 kB / 466 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.4752, allocations: 2.083 MB / 468.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4752, allocations: 12 kB / 468.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4752, allocations: 11.88 kB / 468.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.4752, allocations: 3.984 kB / 468.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.4808, allocations: 3.584 MB / 471.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.4808, allocations: 4 kB / 471.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009421/0.4818, allocations: 191.8 kB / 471.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002282/0.4841, allocations: 0.8641 MB / 472.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.4842, allocations: 27.98 kB / 472.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.4863, allocations: 1.619 MB / 474.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4864, allocations: 4 kB / 474.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/0.4909, allocations: 2.908 MB / 477.3 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4919, allocations: 387.2 kB / 477.7 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.4922, allocations: 24 kB / 477.7 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009915/0.4932, allocations: 63.94 kB / 477.8 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.4934, allocations: 97.2 kB / 477.9 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.4935, allocations: 56.09 kB / 477.9 MB, free: 4.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.4947, allocations: 0.8441 MB / 478.8 MB, free: 3.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4947, allocations: 3.938 kB / 478.8 MB, free: 3.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002888/0.4976, allocations: 1.16 MB / 479.9 MB, free: 2.191 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(9,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001845/0.4995, allocations: 0.8456 MB / 480.8 MB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006231/0.5057, allocations: 2.855 MB / 483.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5058, allocations: 4.625 kB / 483.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.5075, allocations: 0.8751 MB / 484.5 MB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.5103, allocations: 0.6631 MB / 485.2 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.5155, allocations: 3.08 MB / 488.2 MB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00077/0.5163, allocations: 1.288 MB / 489.5 MB, free: 8.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001786/0.5181, allocations: 0.5861 MB / 490.1 MB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.5185, allocations: 131.4 kB / 490.2 MB, free: 7.816 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5185, allocations: 0 / 490.2 MB, free: 7.816 MB / 398.1 MB Notification: Performance of Templates: time 0.06928/0.5878, allocations: 43.79 MB / 0.5215 GB, free: 12.3 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Tanks/ThreeTanks/ThreeTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches