Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009133/0.0009136, allocations: 176.6 kB / 16.07 MB, free: 5.605 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.457/1.457, allocations: 205.6 MB / 222.4 MB, free: 8.953 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.0008089/0.0008088, allocations: 86.44 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3573/0.3573, allocations: 43.67 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8 kB / 432.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2224/0.3315, allocations: 56.74 MB / 0.5351 GB, free: 4.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005453/0.337, allocations: 6.319 MB / 0.5412 GB, free: 15.36 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008655/0.3379, allocations: 25.38 kB / 0.5413 GB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.3389, allocations: 277.4 kB / 0.5415 GB, free: 15.19 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.3407, allocations: 0.8013 MB / 0.5423 GB, free: 14.74 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.3429, allocations: 0.7997 MB / 0.5431 GB, free: 14.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.3453, allocations: 2.659 MB / 0.5457 GB, free: 13.45 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005432/0.3458, allocations: 406.2 kB / 0.5461 GB, free: 13.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09789/0.4438, allocations: 43.33 MB / 0.5884 GB, free: 2.738 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01656/0.4604, allocations: 7.963 MB / 0.5962 GB, free: 10.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.4606, allocations: 32 kB / 0.5962 GB, free: 10.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02278/0.4834, allocations: 10.61 MB / 0.6066 GB, free: 15.9 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006328/0.4841, allocations: 223.3 kB / 0.6068 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007103/0.4848, allocations: 395.9 kB / 0.6071 GB, free: 15.29 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.4863, allocations: 1.032 MB / 0.6082 GB, free: 14.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4864, allocations: 0 / 0.6082 GB, free: 14.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.4864, allocations: 0 / 0.6082 GB, free: 14.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4864, allocations: 7.938 kB / 0.6082 GB, free: 14.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001884/0.4883, allocations: 0.9114 MB / 0.6091 GB, free: 13.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4883, allocations: 12.03 kB / 0.6091 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.4886, allocations: 92.02 kB / 0.6092 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.4894, allocations: 0.5014 MB / 0.6096 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.4895, allocations: 108.9 kB / 0.6097 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-05/0.4896, allocations: 48.38 kB / 0.6098 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.4908, allocations: 0.8174 MB / 0.6106 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4908, allocations: 4 kB / 0.6106 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.4909, allocations: 24 kB / 0.6106 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.4909, allocations: 40.92 kB / 0.6107 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.4919, allocations: 0.6439 MB / 0.6113 GB, free: 10.88 MB / 442.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.00451/0.4965, allocations: 4.221 MB / 0.6154 GB, free: 6.367 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.4973, allocations: 423.8 kB / 0.6158 GB, free: 5.945 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.4976, allocations: 205.4 kB / 0.616 GB, free: 5.742 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.4981, allocations: 0.495 MB / 0.6165 GB, free: 5.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4982, allocations: 38.89 kB / 0.6165 GB, free: 5.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 1.923e-06/0.4982, allocations: 0 / 0.6165 GB, free: 5.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.00309/0.5013, allocations: 1.522 MB / 0.618 GB, free: 3.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.5013, allocations: 140.5 kB / 0.6181 GB, free: 3.344 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.502, allocations: 0.5615 MB / 0.6187 GB, free: 2.773 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.502, allocations: 37.7 kB / 0.6187 GB, free: 2.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.5023, allocations: 358.9 kB / 0.6191 GB, free: 2.371 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5024, allocations: 161.7 kB / 0.6192 GB, free: 2.211 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.5025, allocations: 12 kB / 0.6192 GB, free: 2.199 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5026, allocations: 378.7 kB / 0.6196 GB, free: 1.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.503, allocations: 217.9 kB / 0.6198 GB, free: 1.609 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.5036, allocations: 0.524 MB / 0.6203 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000953/0.5045, allocations: 0.7718 MB / 0.6211 GB, free: 48 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5045, allocations: 0 / 0.6211 GB, free: 48 kB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001833/0.5064, allocations: 0.9685 MB / 0.622 GB, free: 15.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5064, allocations: 12 kB / 0.622 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5064, allocations: 16.06 kB / 0.622 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.5075, allocations: 264.6 kB / 0.6223 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.508, allocations: 135.7 kB / 0.6224 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000908/0.5089, allocations: 0.8568 MB / 0.6233 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.5094, allocations: 43.98 kB / 0.6233 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.5095, allocations: 36 kB / 0.6233 GB, free: 13.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.5098, allocations: 257.4 kB / 0.6236 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.5099, allocations: 67.16 kB / 0.6237 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.5112, allocations: 0.7108 MB / 0.6243 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5112, allocations: 15.88 kB / 0.6244 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5112, allocations: 0 / 0.6244 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.5112, allocations: 3.984 kB / 0.6244 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.5132, allocations: 1.399 MB / 0.6257 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5133, allocations: 4 kB / 0.6257 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/0.5142, allocations: 188 kB / 0.6259 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/0.5145, allocations: 72.77 kB / 0.626 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.5146, allocations: 15.98 kB / 0.626 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.5167, allocations: 2.793 MB / 0.6287 GB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5167, allocations: 0 / 0.6287 GB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.5182, allocations: 0.9917 MB / 0.6297 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.5185, allocations: 208.1 kB / 0.6299 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/0.5186, allocations: 20.06 kB / 0.6299 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.519, allocations: 27.89 kB / 0.6299 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.5191, allocations: 36.03 kB / 0.63 GB, free: 6.461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.5192, allocations: 27.97 kB / 0.63 GB, free: 6.434 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004721/0.5197, allocations: 423 kB / 0.6304 GB, free: 6.023 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5197, allocations: 0 / 0.6304 GB, free: 6.023 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007295/0.5204, allocations: 196 kB / 0.6306 GB, free: 5.832 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004896/0.5209, allocations: 247.2 kB / 0.6308 GB, free: 5.594 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.522, allocations: 0.6003 MB / 0.6314 GB, free: 4.996 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.522, allocations: 4.562 kB / 0.6314 GB, free: 4.992 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.5232, allocations: 478.3 kB / 0.6319 GB, free: 4.512 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.5249, allocations: 351.5 kB / 0.6322 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.527, allocations: 1.731 MB / 0.6339 GB, free: 2.391 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.5275, allocations: 0.9385 MB / 0.6348 GB, free: 1.426 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007215/0.5282, allocations: 209.9 kB / 0.635 GB, free: 1.219 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5284, allocations: 59.44 kB / 0.6351 GB, free: 1.16 MB / 458.7 MB Notification: Performance of SimCode: time 2.384e-06/0.5284, allocations: 0 / 0.6351 GB, free: 1.16 MB / 458.7 MB Notification: Performance of Templates: time 0.0229/0.5513, allocations: 14.45 MB / 0.6492 GB, free: 2.824 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches