Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.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) 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: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001407, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.258, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.02021/0.2782, allocations: 21.93 MB / 431.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.2912, allocations: 9.997 MB / 441.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009671/0.2922, allocations: 27.81 kB / 441.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.2934, allocations: 401.4 kB / 441.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.2973, allocations: 1.427 MB / 443 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006003/0.3034, allocations: 2.629 MB / 445.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003158/0.3065, allocations: 2.569 MB / 448.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009364/0.3075, allocations: 0.66 MB / 448.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.3091, allocations: 1.001 MB / 449.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.3104, allocations: 0.9772 MB / 450.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.3106, allocations: 99.94 kB / 451 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.3136, allocations: 1.739 MB / 452.7 MB, free: 6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.3139, allocations: 363 kB / 453 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.3145, allocations: 0.5289 MB / 453.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.3177, allocations: 2.47 MB / 456 MB, free: 2.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3177, allocations: 4 kB / 456.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3177, allocations: 0 / 456.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3177, allocations: 0 / 456.1 MB, free: 2.633 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002752/0.3205, allocations: 1.507 MB / 457.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3206, allocations: 8.031 kB / 457.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.321, allocations: 118.7 kB / 457.7 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.3221, allocations: 0.7138 MB / 458.4 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.3222, allocations: 57.22 kB / 458.5 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.3223, allocations: 59.98 kB / 458.5 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.3238, allocations: 1.064 MB / 459.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.3238, allocations: 4 kB / 459.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.3239, allocations: 35.86 kB / 459.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.437e-05/0.324, allocations: 69.27 kB / 459.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.3255, allocations: 1.028 MB / 460.7 MB, free: 13.82 MB / 382.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.005965/0.3315, allocations: 4.426 MB / 465.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.3325, allocations: 0.5709 MB / 465.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/0.3329, allocations: 318 kB / 466 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002294/0.3352, allocations: 1.977 MB / 468 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.3353, allocations: 38.89 kB / 468 MB, free: 5.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/0.3353, allocations: 0 / 468 MB, free: 5.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.004218/0.3395, allocations: 1.962 MB / 470 MB, free: 3.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.3396, allocations: 162.2 kB / 470.2 MB, free: 3.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.3408, allocations: 0.9235 MB / 471.1 MB, free: 2.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.3409, allocations: 37.7 kB / 471.1 MB, free: 2.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.3412, allocations: 486.8 kB / 471.6 MB, free: 2.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3414, allocations: 161.8 kB / 471.7 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.3416, allocations: 182.5 kB / 471.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3418, allocations: 346 kB / 472.3 MB, free: 1.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.3423, allocations: 336.7 kB / 472.6 MB, free: 1.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.343, allocations: 0.6212 MB / 473.2 MB, free: 500 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3441, allocations: 0.8851 MB / 474.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3441, allocations: 4 kB / 474.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001703/0.3458, allocations: 1.128 MB / 475.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3458, allocations: 11.94 kB / 475.2 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3459, allocations: 8 kB / 475.2 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.3482, allocations: 381.5 kB / 475.6 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.3488, allocations: 175.7 kB / 475.8 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.3499, allocations: 1.343 MB / 477.1 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.3505, allocations: 52.09 kB / 477.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.3506, allocations: 39.98 kB / 477.2 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007392/0.3513, allocations: 0.5213 MB / 477.7 MB, free: 11.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000693/0.352, allocations: 0.6306 MB / 478.4 MB, free: 10.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00111/0.3532, allocations: 0.8675 MB / 479.2 MB, free: 9.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.149e-06/0.3532, allocations: 4 kB / 479.2 MB, free: 9.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001723/0.3549, allocations: 1.093 MB / 480.3 MB, free: 8.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3549, allocations: 8 kB / 480.3 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.355, allocations: 12 kB / 480.4 MB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.3571, allocations: 337.8 kB / 480.7 MB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.3577, allocations: 179.7 kB / 480.9 MB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.3588, allocations: 1.315 MB / 482.2 MB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.3594, allocations: 47.97 kB / 482.2 MB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.3595, allocations: 43.98 kB / 482.3 MB, free: 6.891 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.3597, allocations: 251.3 kB / 482.5 MB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3599, allocations: 94.94 kB / 482.6 MB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.3615, allocations: 0.7888 MB / 483.4 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3615, allocations: 4 kB / 483.4 MB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.3615, allocations: 7.984 kB / 483.4 MB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3615, allocations: 3.984 kB / 483.4 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.364, allocations: 1.587 MB / 485 MB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.364, allocations: 0 / 485 MB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.3643, allocations: 75.91 kB / 485.1 MB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.3657, allocations: 273.5 kB / 485.3 MB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.3657, allocations: 8 kB / 485.3 MB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009173/0.3666, allocations: 1.315 MB / 486.7 MB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3666, allocations: 0 / 486.7 MB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.3682, allocations: 1.084 MB / 487.7 MB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.3684, allocations: 164 kB / 487.9 MB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.3686, allocations: 23.84 kB / 487.9 MB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.369, allocations: 28.11 kB / 488 MB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.3692, allocations: 48.36 kB / 488 MB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.3692, allocations: 23.98 kB / 488 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007535/0.37, allocations: 0.6481 MB / 488.7 MB, free: 292 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.37, allocations: 0 / 488.7 MB, free: 292 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001857/0.3718, allocations: 0.7535 MB / 489.4 MB, free: 15.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.3732, allocations: 0.6254 MB / 490.1 MB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.3756, allocations: 1.271 MB / 491.3 MB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3756, allocations: 0 / 491.3 MB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006074/0.3762, allocations: 338.5 kB / 491.7 MB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.3779, allocations: 408.4 kB / 492.1 MB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.3804, allocations: 1.705 MB / 493.8 MB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.3809, allocations: 1.029 MB / 494.8 MB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009191/0.3819, allocations: 366.8 kB / 495.2 MB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.3821, allocations: 79.42 kB / 495.2 MB, free: 9.684 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3821, allocations: 0 / 495.2 MB, free: 9.684 MB / 414.1 MB Notification: Performance of Templates: time 0.03816/0.4202, allocations: 25.75 MB / 0.5088 GB, free: 80 kB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches