Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, 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.001514/0.001514, 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.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3822, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.06399/0.4463, allocations: 57.02 MB / 0.5867 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03817/0.4845, allocations: 30.75 MB / 0.6167 GB, free: 9.691 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.486, allocations: 27.81 kB / 0.6167 GB, free: 9.664 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.4881, allocations: 0.6639 MB / 0.6174 GB, free: 8.996 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01573/0.5038, allocations: 5.738 MB / 0.623 GB, free: 3.254 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.5139, allocations: 3.876 MB / 0.6268 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.5182, allocations: 3.066 MB / 0.6297 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.5196, allocations: 0.813 MB / 0.6305 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01397/0.5336, allocations: 6.334 MB / 0.6367 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01615/0.5497, allocations: 7.437 MB / 0.644 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006194/0.5504, allocations: 120 kB / 0.6441 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01752/0.568, allocations: 8.39 MB / 0.6523 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007072/0.5687, allocations: 410.8 kB / 0.6527 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.5699, allocations: 0.6767 MB / 0.6534 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.5844, allocations: 6.335 MB / 0.6595 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.5845, allocations: 0 / 0.6595 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5845, allocations: 0 / 0.6595 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 6.31e-05/0.5845, allocations: 0 / 0.6595 GB, free: 13.56 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006865/0.5914, allocations: 2.321 MB / 0.6618 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5915, allocations: 9.109 kB / 0.6618 GB, free: 11.17 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/0.5966, allocations: 0.6285 MB / 0.6624 GB, free: 10.54 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.5983, allocations: 0.8078 MB / 0.6632 GB, free: 9.695 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.5986, allocations: 213.3 kB / 0.6634 GB, free: 9.465 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/0.5989, allocations: 108.1 kB / 0.6635 GB, free: 9.359 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004925/0.6039, allocations: 1.818 MB / 0.6653 GB, free: 7.406 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.6039, allocations: 7.938 kB / 0.6653 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.6041, allocations: 47.98 kB / 0.6653 GB, free: 7.352 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/0.6042, allocations: 46 kB / 0.6654 GB, free: 7.305 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004431/0.6086, allocations: 1.643 MB / 0.667 GB, free: 5.66 MB / 0.5138 GB 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.01119/0.6198, allocations: 8.576 MB / 0.6754 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.623, allocations: 0.9889 MB / 0.6763 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/0.6239, allocations: 425.4 kB / 0.6767 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04574/0.6696, allocations: 27.55 MB / 0.7036 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.6697, allocations: 43.12 kB / 0.7037 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005466/0.6702, allocations: 91.28 kB / 0.7038 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.617e-06/0.6703, allocations: 0 / 0.7038 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.01053/0.6808, allocations: 3.48 MB / 0.7072 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.6809, allocations: 115.5 kB / 0.7073 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.682, allocations: 0.849 MB / 0.7081 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.6821, allocations: 37.7 kB / 0.7082 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.6825, allocations: 0.5853 MB / 0.7087 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.6827, allocations: 293.6 kB / 0.709 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.6831, allocations: 274.7 kB / 0.7093 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.6833, allocations: 410.7 kB / 0.7097 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009317/0.6842, allocations: 430.3 kB / 0.7101 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.6855, allocations: 0.9969 MB / 0.711 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.6878, allocations: 1.494 MB / 0.7125 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.6878, allocations: 4 kB / 0.7125 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003367/0.6912, allocations: 1.74 MB / 0.7142 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.6912, allocations: 14.19 kB / 0.7142 GB, free: 15.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.6913, allocations: 20 kB / 0.7142 GB, free: 15.72 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.6939, allocations: 0.5874 MB / 0.7148 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.6946, allocations: 247.6 kB / 0.715 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.6969, allocations: 1.832 MB / 0.7168 GB, free: 13 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.698, allocations: 67.97 kB / 0.7169 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.6981, allocations: 75.98 kB / 0.717 GB, free: 12.86 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005123/0.6987, allocations: 339.7 kB / 0.7173 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.6989, allocations: 115.3 kB / 0.7174 GB, free: 12.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/0.7045, allocations: 4.441 MB / 0.7217 GB, free: 7.922 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/0.7046, allocations: 59.91 kB / 0.7218 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7046, allocations: 4 kB / 0.7218 GB, free: 7.859 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.7046, allocations: 3.984 kB / 0.7218 GB, free: 7.855 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/0.712, allocations: 6.26 MB / 0.7279 GB, free: 1.488 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.7121, allocations: 0 / 0.7279 GB, free: 1.488 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.7126, allocations: 159.8 kB / 0.7281 GB, free: 1.332 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.7141, allocations: 0.5367 MB / 0.7286 GB, free: 0.793 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.7142, allocations: 20 kB / 0.7286 GB, free: 0.7734 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3134/1.028, allocations: 1.785 MB / 0.7304 GB, free: 188.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.028, allocations: 0.5312 kB / 0.7304 GB, free: 188.8 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/1.033, allocations: 3.963 MB / 0.7342 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/1.034, allocations: 369.4 kB / 0.7346 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.034, allocations: 34.17 kB / 0.7346 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/1.035, allocations: 49.83 kB / 0.7347 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.035, allocations: 69.88 kB / 0.7347 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/1.035, allocations: 34.31 kB / 0.7348 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0009929/1.036, allocations: 0.6669 MB / 0.7354 GB, free: 186.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/1.036, allocations: 1.344 kB / 0.7354 GB, free: 186.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004634/1.041, allocations: 1.468 MB / 0.7368 GB, free: 186.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005942/1.047, allocations: 1.61 MB / 0.7384 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.002929/1.05, allocations: 1.668 MB / 0.74 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.05, allocations: 0 / 0.74 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.051, allocations: 1.23 MB / 0.7412 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.054, allocations: 0.5422 MB / 0.7418 GB, free: 185.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/1.058, allocations: 3.654 MB / 0.7453 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/1.059, allocations: 1.392 MB / 0.7467 GB, free: 182.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001068/1.06, allocations: 0.5881 MB / 0.7473 GB, free: 182.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/1.06, allocations: 98.36 kB / 0.7474 GB, free: 182.7 MB / 0.5763 GB Notification: Performance of SimCode: time 7.72e-07/1.06, allocations: 0 / 0.7474 GB, free: 182.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.0635/1.124, allocations: 60.45 MB / 0.8064 GB, free: 123.8 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches