Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 179 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007374/0.0007374, allocations: 94.3 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 12 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2487, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.03223/0.281, allocations: 29.81 MB / 406.4 MB, free: 18.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02667/0.3077, allocations: 20.73 MB / 427.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/0.3108, allocations: 63.44 kB / 427.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.3135, allocations: 0.5168 MB / 427.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009104/0.3226, allocations: 2.155 MB / 429.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01294/0.3356, allocations: 3.16 MB / 433 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.3462, allocations: 6.155 MB / 439.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.3491, allocations: 1.017 MB / 440.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/0.3535, allocations: 1.389 MB / 441.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.3578, allocations: 1.647 MB / 443.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008319/0.3587, allocations: 84 kB / 443.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007509/0.3662, allocations: 2.258 MB / 445.6 MB, free: 9.559 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.3679, allocations: 0.5335 MB / 446.1 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.3705, allocations: 0.8181 MB / 446.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009578/0.3801, allocations: 3.599 MB / 450.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3801, allocations: 0 / 450.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3801, allocations: 0 / 450.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.171e-05/0.3802, allocations: 0 / 450.5 MB, free: 4.586 MB / 330.7 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.007873/0.3881, allocations: 1.893 MB / 452.4 MB, free: 2.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.3882, allocations: 12.03 kB / 452.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.3895, allocations: 178 kB / 452.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.393, allocations: 1.007 MB / 453.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.3933, allocations: 171.1 kB / 453.8 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/0.3939, allocations: 104 kB / 453.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005039/0.399, allocations: 1.741 MB / 455.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.196e-05/0.3991, allocations: 7.906 kB / 455.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/0.3994, allocations: 47.97 kB / 455.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000256/0.3996, allocations: 113.9 kB / 455.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004796/0.4044, allocations: 1.772 MB / 457.6 MB, free: 13.37 MB / 346.7 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.0184/0.4229, allocations: 6.746 MB / 464.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.426, allocations: 1.234 MB / 465.5 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.4278, allocations: 0.76 MB / 466.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008466/0.4363, allocations: 4.302 MB / 470.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.771e-05/0.4364, allocations: 47.56 kB / 470.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001043/0.4375, allocations: 202.7 kB / 470.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=97): time 3.827e-06/0.4375, allocations: 0 / 470.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.02711/0.4646, allocations: 5.75 MB / 476.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.4648, allocations: 141.5 kB / 476.7 MB, free: 9.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.4677, allocations: 1.242 MB / 478 MB, free: 8.082 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.468, allocations: 49.7 kB / 478 MB, free: 8.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007162/0.4687, allocations: 0.6168 MB / 478.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000537/0.4692, allocations: 386.5 kB / 479 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.4694, allocations: 28 kB / 479.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.4696, allocations: 361.9 kB / 479.4 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.4715, allocations: 0.7027 MB / 480.1 MB, free: 5.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.4737, allocations: 1.052 MB / 481.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.4776, allocations: 1.743 MB / 482.9 MB, free: 2.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4776, allocations: 4 kB / 482.9 MB, free: 2.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006174/0.4838, allocations: 2.277 MB / 485.2 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003601/0.4842, allocations: 379.1 kB / 485.6 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.4842, allocations: 12 kB / 485.6 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/0.4946, allocations: 1.274 MB / 486.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.4968, allocations: 311.5 kB / 487.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.5005, allocations: 1.598 MB / 488.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.5028, allocations: 87.8 kB / 488.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.5031, allocations: 75.95 kB / 488.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5031, allocations: 4 kB / 488.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005266/0.5084, allocations: 2.019 MB / 490.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.5085, allocations: 12 kB / 490.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009105/0.5176, allocations: 1.112 MB / 492 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.5196, allocations: 307.5 kB / 492.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.5225, allocations: 1.452 MB / 493.8 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.5246, allocations: 87.8 kB / 493.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/0.5248, allocations: 71.91 kB / 494 MB, free: 7.602 MB / 378.7 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 (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 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.001155/0.526, allocations: 465.2 kB / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/0.5264, allocations: 146.2 kB / 494.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005761/0.5322, allocations: 2.082 MB / 496.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.5323, allocations: 15.94 kB / 496.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.5323, allocations: 0 / 496.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.5323, allocations: 7.969 kB / 496.7 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007604/0.5399, allocations: 3.583 MB / 0.4885 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.54, allocations: 4 kB / 0.4885 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.5411, allocations: 191.8 kB / 0.4887 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003883/0.545, allocations: 0.9916 MB / 0.4897 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.5452, allocations: 35.97 kB / 0.4897 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1932/0.7384, allocations: 1.603 MB / 0.4913 GB, free: 112.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7384, allocations: 3.75 kB / 0.4913 GB, free: 112.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004421/0.7428, allocations: 2.9 MB / 0.4941 GB, free: 111.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.7439, allocations: 404.6 kB / 0.4945 GB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.7441, allocations: 21.69 kB / 0.4945 GB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7452, allocations: 82.34 kB / 0.4946 GB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.7455, allocations: 102.3 kB / 0.4947 GB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.7457, allocations: 49.83 kB / 0.4947 GB, free: 111.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001106/0.7468, allocations: 0.8315 MB / 0.4955 GB, free: 111.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7468, allocations: 3.969 kB / 0.4956 GB, free: 111.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003778/0.7506, allocations: 1.163 MB / 0.4967 GB, free: 111.2 MB / 378.7 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.002271/0.7529, allocations: 0.8492 MB / 0.4975 GB, free: 111 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006031/0.7589, allocations: 2.797 MB / 0.5002 GB, free: 110.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.759, allocations: 2.438 kB / 0.5003 GB, free: 110.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.7607, allocations: 0.8672 MB / 0.5011 GB, free: 109.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/0.7636, allocations: 0.616 MB / 0.5017 GB, free: 109.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.7688, allocations: 3.716 MB / 0.5053 GB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.7694, allocations: 1.294 MB / 0.5066 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001991/0.7714, allocations: 0.5851 MB / 0.5072 GB, free: 105.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.7718, allocations: 127.4 kB / 0.5073 GB, free: 105.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.7718, allocations: 4 kB / 0.5073 GB, free: 105.6 MB / 378.7 MB Notification: Performance of Templates: time 0.053/0.8248, allocations: 41.5 MB / 0.5478 GB, free: 64.18 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/Tanks/ThreeTanks/ThreeTanks.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches