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.001184/0.001184, 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.001485/0.001486, 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.308/1.308, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2612, allocations: 50.55 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.02167/0.2829, allocations: 21.92 MB / 431.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01307/0.296, allocations: 10 MB / 441.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.2973, allocations: 31.81 kB / 441.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.2989, allocations: 401.4 kB / 441.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.3032, allocations: 1.427 MB / 443 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00722/0.3104, allocations: 2.624 MB / 445.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003399/0.3138, allocations: 2.58 MB / 448.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.3149, allocations: 0.66 MB / 448.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.3168, allocations: 0.9812 MB / 449.9 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.3184, allocations: 0.9772 MB / 450.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.3187, allocations: 92 kB / 450.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.3221, allocations: 1.735 MB / 452.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004603/0.3226, allocations: 367 kB / 453 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.3232, allocations: 0.5327 MB / 453.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.3269, allocations: 2.484 MB / 456 MB, free: 2.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3269, allocations: 0 / 456 MB, free: 2.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3269, allocations: 0 / 456 MB, free: 2.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.3269, allocations: 0 / 456 MB, free: 2.656 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.002802/0.3297, allocations: 1.551 MB / 457.6 MB, free: 1.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3298, allocations: 12.02 kB / 457.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.3302, allocations: 119.3 kB / 457.7 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3312, allocations: 0.7222 MB / 458.4 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.3313, allocations: 53.28 kB / 458.5 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3314, allocations: 63.98 kB / 458.6 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.3329, allocations: 1.052 MB / 459.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.3329, allocations: 11.95 kB / 459.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.333, allocations: 31.92 kB / 459.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-05/0.3331, allocations: 65.27 kB / 459.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.3347, allocations: 1.039 MB / 460.8 MB, free: 13.79 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.005835/0.3405, allocations: 4.435 MB / 465.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000941/0.3415, allocations: 0.5719 MB / 465.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.342, allocations: 322 kB / 466.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002339/0.3443, allocations: 1.969 MB / 468 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.3444, allocations: 46.88 kB / 468.1 MB, free: 5.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.3444, allocations: 0 / 468.1 MB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.004256/0.3487, allocations: 1.971 MB / 470.1 MB, free: 3.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.3488, allocations: 158.2 kB / 470.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3498, allocations: 0.9275 MB / 471.1 MB, free: 2.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.3499, allocations: 37.7 kB / 471.2 MB, free: 2.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.3502, allocations: 0.4922 MB / 471.7 MB, free: 2.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3504, allocations: 170.6 kB / 471.8 MB, free: 2.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.3507, allocations: 186.5 kB / 472 MB, free: 1.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3508, allocations: 349.9 kB / 472.4 MB, free: 1.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.3513, allocations: 332.6 kB / 472.7 MB, free: 1.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007047/0.352, allocations: 0.629 MB / 473.3 MB, free: 408 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.3532, allocations: 0.8812 MB / 474.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3532, allocations: 0 / 474.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001836/0.355, allocations: 1.137 MB / 475.3 MB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3551, allocations: 18.73 kB / 475.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.3551, allocations: 12 kB / 475.4 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/0.3574, allocations: 369.6 kB / 475.7 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.358, allocations: 183.7 kB / 475.9 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.359, allocations: 1.339 MB / 477.2 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.3597, allocations: 40.05 kB / 477.3 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/0.3597, allocations: 44.12 kB / 477.3 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008477/0.3606, allocations: 0.5252 MB / 477.9 MB, free: 11.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006952/0.3613, allocations: 0.6267 MB / 478.5 MB, free: 10.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/0.3624, allocations: 0.8753 MB / 479.4 MB, free: 9.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.843e-06/0.3624, allocations: 4 kB / 479.4 MB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001643/0.364, allocations: 1.097 MB / 480.5 MB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3641, allocations: 12 kB / 480.5 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3641, allocations: 8 kB / 480.5 MB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.3661, allocations: 337.9 kB / 480.8 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.3667, allocations: 183.7 kB / 481 MB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.3677, allocations: 1.312 MB / 482.3 MB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.3683, allocations: 43.97 kB / 482.3 MB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.3684, allocations: 44 kB / 482.4 MB, free: 6.801 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.000236/0.3687, allocations: 249.6 kB / 482.6 MB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.3688, allocations: 103.4 kB / 482.7 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.3704, allocations: 0.7808 MB / 483.5 MB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3705, allocations: 4 kB / 483.5 MB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3705, allocations: 7.984 kB / 483.5 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3705, allocations: 192 / 483.5 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.3729, allocations: 1.587 MB / 485.1 MB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.373, allocations: 4 kB / 485.1 MB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.3733, allocations: 79.89 kB / 485.2 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.3746, allocations: 269.5 kB / 485.5 MB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.3746, allocations: 12 kB / 485.5 MB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009856/0.3756, allocations: 1.312 MB / 486.8 MB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3756, allocations: 0 / 486.8 MB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.3772, allocations: 1.085 MB / 487.9 MB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.3774, allocations: 172.5 kB / 488 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.3775, allocations: 20.12 kB / 488.1 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.378, allocations: 27.97 kB / 488.1 MB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3781, allocations: 44.38 kB / 488.1 MB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.3782, allocations: 23.92 kB / 488.1 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008034/0.379, allocations: 0.652 MB / 488.8 MB, free: 192 kB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.379, allocations: 0 / 488.8 MB, free: 192 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001823/0.3808, allocations: 0.7639 MB / 489.6 MB, free: 15.42 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.001584/0.3824, allocations: 0.6277 MB / 490.2 MB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.3848, allocations: 1.271 MB / 491.5 MB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3848, allocations: 0 / 491.5 MB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.3855, allocations: 342.5 kB / 491.8 MB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.3871, allocations: 408 kB / 492.2 MB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.3896, allocations: 1.734 MB / 493.9 MB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.3902, allocations: 1.033 MB / 495 MB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009788/0.3911, allocations: 369.9 kB / 495.3 MB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3914, allocations: 75.44 kB / 495.4 MB, free: 9.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3914, allocations: 0 / 495.4 MB, free: 9.539 MB / 414.1 MB Notification: Performance of Templates: time 0.03764/0.429, allocations: 25.34 MB / 0.5085 GB, free: 348 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