Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008373/0.0008374, allocations: 173.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007565/0.0007566, allocations: 90.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 16 kB / 432 MB, free: 5.562 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1109, allocations: 58.85 MB / 490.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3487/0.4597, allocations: 173.3 MB / 0.6486 GB, free: 9.348 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008213/0.4679, allocations: 5.716 MB / 0.6541 GB, free: 3.621 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006343/0.4686, allocations: 23.81 kB / 0.6542 GB, free: 3.598 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008969/0.4695, allocations: 246.4 kB / 0.6544 GB, free: 3.355 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004427/0.474, allocations: 1.7 MB / 0.6561 GB, free: 1.66 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.4756, allocations: 0.5902 MB / 0.6566 GB, free: 1.078 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.4776, allocations: 1.739 MB / 0.6583 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000626/0.4782, allocations: 363.4 kB / 0.6587 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009381/0.4792, allocations: 0.5058 MB / 0.6592 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007188/0.4799, allocations: 438.3 kB / 0.6596 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.48, allocations: 28 kB / 0.6596 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.4833, allocations: 1.885 MB / 0.6615 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.4836, allocations: 127.5 kB / 0.6616 GB, free: 12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.4841, allocations: 332.3 kB / 0.6619 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.4861, allocations: 1.243 MB / 0.6631 GB, free: 10.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4861, allocations: 0 / 0.6631 GB, free: 10.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4861, allocations: 0 / 0.6631 GB, free: 10.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.4861, allocations: 0 / 0.6631 GB, free: 10.43 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001964/0.4881, allocations: 0.9752 MB / 0.6641 GB, free: 9.402 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4881, allocations: 11.97 kB / 0.6641 GB, free: 9.391 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/0.4891, allocations: 139.2 kB / 0.6642 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.4899, allocations: 472.5 kB / 0.6647 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.4899, allocations: 37 kB / 0.6647 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.49, allocations: 36 kB / 0.6647 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4911, allocations: 0.5984 MB / 0.6653 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4911, allocations: 0 / 0.6653 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.4912, allocations: 16.62 kB / 0.6653 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4912, allocations: 12 kB / 0.6653 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.4922, allocations: 479.6 kB / 0.6658 GB, free: 7.547 MB / 490.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.003115/0.4953, allocations: 2.686 MB / 0.6684 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.4961, allocations: 331.6 kB / 0.6687 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.4964, allocations: 173.3 kB / 0.6689 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.4978, allocations: 1.301 MB / 0.6702 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.4978, allocations: 46.78 kB / 0.6702 GB, free: 2.559 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.876e-06/0.4979, allocations: 0 / 0.6702 GB, free: 2.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001708/0.4996, allocations: 0.726 MB / 0.6709 GB, free: 1.805 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.4997, allocations: 136.5 kB / 0.6711 GB, free: 1.641 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.5003, allocations: 470 kB / 0.6715 GB, free: 1.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.5004, allocations: 33.7 kB / 0.6715 GB, free: 1.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.5006, allocations: 275.8 kB / 0.6718 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.5007, allocations: 122.2 kB / 0.6719 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.5007, allocations: 8 kB / 0.6719 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5009, allocations: 358.8 kB / 0.6723 GB, free: 380 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.5012, allocations: 152.7 kB / 0.6724 GB, free: 228 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1785/0.6797, allocations: 274.8 kB / 0.6727 GB, free: 152 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/0.6806, allocations: 446.4 kB / 0.6731 GB, free: 151.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.6806, allocations: 1.844 kB / 0.6731 GB, free: 151.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001143/0.6818, allocations: 0.5387 MB / 0.6736 GB, free: 151.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6818, allocations: 7.938 kB / 0.6736 GB, free: 151.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6818, allocations: 3.969 kB / 0.6736 GB, free: 151.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.6834, allocations: 284.8 kB / 0.6739 GB, free: 151.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.6838, allocations: 107 kB / 0.674 GB, free: 151.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003946/0.6842, allocations: 0.5895 MB / 0.6746 GB, free: 151.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.6847, allocations: 61.91 kB / 0.6746 GB, free: 151.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6848, allocations: 46.72 kB / 0.6747 GB, free: 151.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.6852, allocations: 187.2 kB / 0.6749 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.6853, allocations: 54.72 kB / 0.6749 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.6871, allocations: 0.7395 MB / 0.6756 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6871, allocations: 3.547 kB / 0.6756 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6871, allocations: 1.406 kB / 0.6756 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6872, allocations: 5.938 kB / 0.6756 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.6888, allocations: 1.015 MB / 0.6766 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6888, allocations: 1.125 kB / 0.6766 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.689, allocations: 54.05 kB / 0.6767 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/0.6923, allocations: 0.539 MB / 0.6772 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.6923, allocations: 16.53 kB / 0.6772 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003534/0.6927, allocations: 0.6059 MB / 0.6778 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6927, allocations: 1.75 kB / 0.6778 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.6935, allocations: 0.5125 MB / 0.6783 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.6938, allocations: 154.1 kB / 0.6785 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6939, allocations: 14 kB / 0.6785 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.6943, allocations: 38.33 kB / 0.6785 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.6944, allocations: 27.02 kB / 0.6786 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.6944, allocations: 17.11 kB / 0.6786 GB, free: 149.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004983/0.6949, allocations: 376.5 kB / 0.6789 GB, free: 149.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6949, allocations: 0 / 0.6789 GB, free: 149.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001145/0.6961, allocations: 367.5 kB / 0.6793 GB, free: 149.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/0.6976, allocations: 0.4898 MB / 0.6798 GB, free: 149.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009807/0.6986, allocations: 377.1 kB / 0.6801 GB, free: 149.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6986, allocations: 0.875 kB / 0.6801 GB, free: 149.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.699, allocations: 171.3 kB / 0.6803 GB, free: 149.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.7007, allocations: 301.5 kB / 0.6806 GB, free: 149.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.7021, allocations: 1.084 MB / 0.6816 GB, free: 149 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.7024, allocations: 0.8558 MB / 0.6825 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.7027, allocations: 98.69 kB / 0.6826 GB, free: 148.2 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.7027, allocations: 0 / 0.6826 GB, free: 148.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02191/0.7247, allocations: 14.98 MB / 0.6972 GB, free: 146.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches