Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 109.7 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 192.7 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.113/1.113, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 64.77 kB / 0.571 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1886, allocations: 80.69 MB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01479/0.2035, allocations: 12.34 MB / 0.6618 GB, free: 0.6094 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.2149, allocations: 4.439 MB / 0.6662 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.2179, allocations: 83.69 kB / 0.6662 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.006823/0.2248, allocations: 3.084 MB / 0.6693 GB, free: 8.98 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.006944/0.2318, allocations: 2.206 MB / 0.6714 GB, free: 6.766 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.2349, allocations: 0.971 MB / 0.6724 GB, free: 5.793 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.2464, allocations: 7.077 MB / 0.6793 GB, free: 14.7 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008689/0.2552, allocations: 4.903 MB / 0.6841 GB, free: 9.727 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005352/0.2606, allocations: 2.103 MB / 0.6861 GB, free: 7.617 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005559/0.2662, allocations: 2.808 MB / 0.6889 GB, free: 4.801 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.2683, allocations: 432 kB / 0.6893 GB, free: 4.379 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.2725, allocations: 1.307 MB / 0.6905 GB, free: 3.07 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.004517/0.2771, allocations: 2.548 MB / 0.693 GB, free: 0.5156 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.00667/0.2838, allocations: 2.762 MB / 0.6957 GB, free: 13.74 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.298, allocations: 8.921 MB / 0.7044 GB, free: 4.789 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.2981, allocations: 0 / 0.7044 GB, free: 4.789 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2981, allocations: 0 / 0.7044 GB, free: 4.789 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0003937/0.2985, allocations: 0 / 0.7044 GB, free: 4.789 MB / 0.5452 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1588 * Number of variables: 1588 Notification: Performance of Generate backend data structure: time 0.02146/0.32, allocations: 6.431 MB / 0.7107 GB, free: 14.28 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.3201, allocations: 11.89 kB / 0.7107 GB, free: 14.27 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03763/0.3577, allocations: 5.279 MB / 0.7159 GB, free: 8.973 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/0.3723, allocations: 5.098 MB / 0.7209 GB, free: 3.793 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/0.3726, allocations: 271.2 kB / 0.7211 GB, free: 3.527 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/0.3749, allocations: 375.7 kB / 0.7215 GB, free: 3.16 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02587/0.4008, allocations: 11.7 MB / 0.7329 GB, free: 6.75 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/0.4011, allocations: 59.48 kB / 0.733 GB, free: 6.691 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009968/0.4022, allocations: 171.9 kB / 0.7331 GB, free: 6.523 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003599/0.4058, allocations: 2.073 MB / 0.7352 GB, free: 4.449 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/0.4263, allocations: 10.44 MB / 0.7453 GB, free: 9.988 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7756/1.202, allocations: 43.21 MB / 0.7875 GB, free: 79.75 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/1.214, allocations: 4.75 MB / 0.7922 GB, free: 79.07 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004198/1.218, allocations: 2.901 MB / 0.795 GB, free: 78.1 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01931/1.237, allocations: 10.29 MB / 0.8051 GB, free: 74.11 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/1.237, allocations: 54.72 kB / 0.8051 GB, free: 74.05 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=186): time 4.719e-06/1.238, allocations: 0 / 0.8051 GB, free: 74.05 MB / 0.6079 GB Notification: Performance of matching and sorting (n=218): time 0.06786/1.305, allocations: 28.21 MB / 0.8327 GB, free: 55.24 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/1.306, allocations: 308 kB / 0.833 GB, free: 54.87 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007002/1.313, allocations: 4.836 MB / 0.8377 GB, free: 50.02 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0006876/1.313, allocations: 61.7 kB / 0.8377 GB, free: 49.95 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/1.315, allocations: 3.326 MB / 0.841 GB, free: 46.62 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.317, allocations: 0.8322 MB / 0.8418 GB, free: 45.8 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002251/1.319, allocations: 1.336 MB / 0.8431 GB, free: 44.45 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/1.319, allocations: 305.1 kB / 0.8434 GB, free: 44.15 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003837/1.323, allocations: 3.002 MB / 0.8463 GB, free: 41.14 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005815/1.329, allocations: 6.534 MB / 0.8527 GB, free: 32.95 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009824/1.338, allocations: 10.09 MB / 0.8626 GB, free: 21.2 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/1.339, allocations: 39.94 kB / 0.8626 GB, free: 21.16 MB / 0.6079 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01978/1.358, allocations: 11.78 MB / 0.8741 GB, free: 9.371 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 9.684e-05/1.359, allocations: 56 kB / 0.8742 GB, free: 9.316 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001486/1.359, allocations: 121.7 kB / 0.8743 GB, free: 9.199 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006085/1.365, allocations: 2.666 MB / 0.8769 GB, free: 6.527 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005029/1.37, allocations: 1.54 MB / 0.8784 GB, free: 4.984 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/1.389, allocations: 14.12 MB / 0.8922 GB, free: 6.715 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006412/1.396, allocations: 475.7 kB / 0.8926 GB, free: 6.25 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.397, allocations: 372 kB / 0.893 GB, free: 5.887 MB / 0.6235 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 758 * Array equations: 3 * 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): 1 system {(4,39,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005923/1.403, allocations: 2.607 MB / 0.8955 GB, free: 3.273 MB / 0.6235 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/1.405, allocations: 406.8 kB / 0.8959 GB, free: 2.871 MB / 0.6235 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.418, allocations: 6.635 MB / 0.9024 GB, free: 12.22 MB / 0.6392 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.605e-05/1.418, allocations: 24 kB / 0.9024 GB, free: 12.2 MB / 0.6392 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/1.418, allocations: 10.19 kB / 0.9024 GB, free: 12.19 MB / 0.6392 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-05/1.418, allocations: 11.95 kB / 0.9024 GB, free: 12.18 MB / 0.6392 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02901/1.447, allocations: 13.21 MB / 0.9153 GB, free: 14.89 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.698e-05/1.447, allocations: 4 kB / 0.9153 GB, free: 14.88 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.449, allocations: 395.4 kB / 0.9157 GB, free: 14.5 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006467/1.455, allocations: 2.459 MB / 0.9181 GB, free: 12.03 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005328/1.456, allocations: 40 kB / 0.9182 GB, free: 11.99 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/1.475, allocations: 13.65 MB / 0.9315 GB, free: 14.2 MB / 0.6704 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.475, allocations: 480 / 0.9315 GB, free: 14.2 MB / 0.6704 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/1.493, allocations: 10.22 MB / 0.9415 GB, free: 3.914 MB / 0.6704 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.495, allocations: 483.7 kB / 0.9419 GB, free: 3.418 MB / 0.6704 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.496, allocations: 36 kB / 0.942 GB, free: 3.383 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.499, allocations: 259.6 kB / 0.9422 GB, free: 3.129 MB / 0.6704 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007943/1.5, allocations: 140.9 kB / 0.9424 GB, free: 2.988 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/1.5, allocations: 52 kB / 0.9424 GB, free: 2.938 MB / 0.6704 GB Notification: Performance of sorting global known variables: time 0.00624/1.507, allocations: 3.109 MB / 0.9454 GB, free: 15.83 MB / 0.686 GB Notification: Performance of sort global known variables: time 3.41e-07/1.507, allocations: 0 / 0.9454 GB, free: 15.83 MB / 0.686 GB Notification: Performance of remove unused functions: time 0.007389/1.514, allocations: 1.309 MB / 0.9467 GB, free: 14.53 MB / 0.686 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * 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 (159): * Single equations (assignments): 155 * Array equations: 3 * 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): 1 system {(3,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008167/1.515, allocations: 187.8 kB / 0.9469 GB, free: 14.34 MB / 0.686 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.528, allocations: 7.127 MB / 0.9539 GB, free: 7.234 MB / 0.686 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.528, allocations: 0 / 0.9539 GB, free: 7.234 MB / 0.686 GB Notification: Performance of simCode: created simulation system equations: time 0.004831/1.533, allocations: 2.668 MB / 0.9565 GB, free: 4.551 MB / 0.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005785/1.538, allocations: 0.6437 MB / 0.9571 GB, free: 3.926 MB / 0.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/1.566, allocations: 12.35 MB / 0.9692 GB, free: 7.523 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007933/1.574, allocations: 3.93 MB / 0.973 GB, free: 3.562 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.00641/1.58, allocations: 2.195 MB / 0.9751 GB, free: 1.359 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.582, allocations: 271.4 kB / 0.9754 GB, free: 1.094 MB / 0.7017 GB Notification: Performance of SimCode: time 7.61e-07/1.582, allocations: 7.875 kB / 0.9754 GB, free: 1.086 MB / 0.7017 GB Notification: Performance of Templates: time 0.1022/1.684, allocations: 54.88 MB / 1.029 GB, free: 10.51 MB / 0.7642 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches