Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 172.5 kB / 15.42 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 225.7 MB / 241.9 MB, free: 400 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007894/0.0007894, allocations: 97.97 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6223/0.6223, allocations: 91.64 MB / 435.8 MB, free: 23.58 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 0.5038 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 69.3 MB / 0.5714 GB, free: 45.61 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4966/0.7895, allocations: 310.2 MB / 0.8743 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.8085, allocations: 23.98 MB / 0.8978 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.8096, allocations: 14.28 kB / 0.8978 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.8118, allocations: 0.8865 MB / 0.8986 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.8225, allocations: 4.68 MB / 0.9032 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00922/0.8318, allocations: 3.455 MB / 0.9066 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.8342, allocations: 2.555 MB / 0.9091 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004695/0.8347, allocations: 303.5 kB / 0.9094 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.8368, allocations: 1.044 MB / 0.9104 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.8378, allocations: 0.7022 MB / 0.9111 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.838, allocations: 40 kB / 0.9111 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02472/0.8627, allocations: 14.77 MB / 0.9255 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006283/0.8634, allocations: 299.9 kB / 0.9258 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.8645, allocations: 0.5488 MB / 0.9264 GB, free: 6.504 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.8833, allocations: 7.901 MB / 0.9341 GB, free: 320 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8833, allocations: 0 / 0.9341 GB, free: 320 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8833, allocations: 4 kB / 0.9341 GB, free: 316 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.8833, allocations: 0 / 0.9341 GB, free: 316 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005935/0.8893, allocations: 2.655 MB / 0.9367 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8893, allocations: 11.98 kB / 0.9367 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.8896, allocations: 118.6 kB / 0.9368 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.8904, allocations: 0.5911 MB / 0.9374 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.8904, allocations: 69.28 kB / 0.9374 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.8906, allocations: 99.58 kB / 0.9375 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.8925, allocations: 1.415 MB / 0.9389 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.8925, allocations: 4 kB / 0.9389 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.8926, allocations: 37.94 kB / 0.939 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.8927, allocations: 79.08 kB / 0.939 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.8947, allocations: 1.549 MB / 0.9405 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/0.9005, allocations: 5.309 MB / 0.9457 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.9019, allocations: 0.9493 MB / 0.9467 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009205/0.9029, allocations: 0.7647 MB / 0.9474 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003733/0.9066, allocations: 4.611 MB / 0.9519 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.9067, allocations: 56.38 kB / 0.952 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 3.497e-06/0.9067, allocations: 0 / 0.952 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.003771/0.9105, allocations: 2.319 MB / 0.9542 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.9105, allocations: 93.23 kB / 0.9543 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.911, allocations: 493.3 kB / 0.9548 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.822e-05/0.9111, allocations: 46.73 kB / 0.9548 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.9113, allocations: 363.3 kB / 0.9552 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.9116, allocations: 411.7 kB / 0.9556 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.9116, allocations: 17.12 kB / 0.9556 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9118, allocations: 396.5 kB / 0.956 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007261/0.9125, allocations: 0.5287 MB / 0.9565 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.9133, allocations: 0.5967 MB / 0.9571 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.9149, allocations: 1.225 MB / 0.9583 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9149, allocations: 3.938 kB / 0.9583 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002285/0.9172, allocations: 1.52 MB / 0.9597 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9172, allocations: 8 kB / 0.9598 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9172, allocations: 4 kB / 0.9598 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.9176, allocations: 113.6 kB / 0.9599 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.9183, allocations: 197 kB / 0.9601 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.9208, allocations: 3.118 MB / 0.9631 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.9213, allocations: 95.2 kB / 0.9632 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.9215, allocations: 91.97 kB / 0.9633 GB, free: 5.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (108): * Single equations (assignments): 96 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * 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): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003683/0.9219, allocations: 261.1 kB / 0.9635 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.922, allocations: 86.97 kB / 0.9636 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/0.9256, allocations: 1.97 MB / 0.9655 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.37e-05/0.9257, allocations: 12 kB / 0.9655 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9257, allocations: 4 kB / 0.9655 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.9257, allocations: 11.95 kB / 0.9656 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/0.9302, allocations: 3.264 MB / 0.9687 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9302, allocations: 4.062 kB / 0.9687 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.9309, allocations: 201.7 kB / 0.9689 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/0.9312, allocations: 117.6 kB / 0.9691 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.9313, allocations: 51.97 kB / 0.9691 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.9337, allocations: 3.121 MB / 0.9722 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9337, allocations: 0 / 0.9722 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.9372, allocations: 2.619 MB / 0.9747 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.9374, allocations: 175.8 kB / 0.9749 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.9376, allocations: 30.59 kB / 0.9749 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.9381, allocations: 55.73 kB / 0.975 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.9383, allocations: 112 kB / 0.9751 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.9384, allocations: 106.7 kB / 0.9752 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000365/0.9388, allocations: 338.9 kB / 0.9755 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9388, allocations: 0 / 0.9755 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003231/0.9421, allocations: 1.384 MB / 0.9768 GB, free: 7.473 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow) * 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 (110): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * 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): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005194/0.9473, allocations: 1.984 MB / 0.9788 GB, free: 5.641 MB / 0.6511 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState76.X Notification: Performance of simCode: created initialization part: time 0.002817/0.9501, allocations: 1.844 MB / 0.9806 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.9501, allocations: 0 / 0.9806 GB, free: 3.773 MB / 0.6511 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState153.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState228.X Notification: Performance of simCode: created simulation system equations: time 0.001611/0.9517, allocations: 1.216 MB / 0.9818 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.9533, allocations: 327 kB / 0.9821 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.9567, allocations: 2.587 MB / 0.9846 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.9573, allocations: 1.099 MB / 0.9857 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001312/0.9586, allocations: 374 kB / 0.986 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.9591, allocations: 151.4 kB / 0.9862 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/0.9591, allocations: 0 / 0.9862 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of Templates: time 0.2567/1.216, allocations: 44.53 MB / 1.03 GB, free: 279.9 MB / 0.6823 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches