Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.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: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002106/0.002107, allocations: 108 kB / 16.51 MB, free: 6.707 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.002203/0.002203, allocations: 190.6 kB / 17.43 MB, free: 6.066 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.703/1.703, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.587/1.587, allocations: 119.3 MB / 410.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 67.89 kB / 0.4904 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.897/0.8993, allocations: 80.69 MB / 0.5692 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4): time 0.00391/0.9033, allocations: 1.87 MB / 0.571 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.9045, allocations: 0.5612 MB / 0.5715 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.9046, allocations: 0 / 0.5715 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.9048, allocations: 17.22 kB / 0.5716 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.9051, allocations: 60.02 kB / 0.5716 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.9054, allocations: 70.86 kB / 0.5717 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.9069, allocations: 1.38 MB / 0.573 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.9071, allocations: 91.05 kB / 0.5731 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007195/0.9079, allocations: 415.3 kB / 0.5735 GB, free: 40.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008596/0.9087, allocations: 0.5293 MB / 0.574 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.9089, allocations: 49.19 kB / 0.5741 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.9091, allocations: 50.19 kB / 0.5741 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.9094, allocations: 271.3 kB / 0.5744 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005782/0.91, allocations: 403.2 kB / 0.5748 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.9111, allocations: 1.075 MB / 0.5758 GB, free: 38.92 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.9111, allocations: 1.719 kB / 0.5758 GB, free: 38.92 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.563e-06/0.9111, allocations: 3.938 kB / 0.5758 GB, free: 38.92 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.9112, allocations: 0 / 0.5758 GB, free: 38.92 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004693/0.9159, allocations: 1.648 MB / 0.5774 GB, free: 37.86 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.899e-05/0.9159, allocations: 9.219 kB / 0.5774 GB, free: 37.86 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.9162, allocations: 120.2 kB / 0.5776 GB, free: 37.76 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.9165, allocations: 87.28 kB / 0.5776 GB, free: 37.71 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.9175, allocations: 0.5541 MB / 0.5782 GB, free: 37.32 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/0.9178, allocations: 59.59 kB / 0.5782 GB, free: 37.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.919, allocations: 140.5 kB / 0.5784 GB, free: 37.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.9213, allocations: 1.152 MB / 0.5795 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.9213, allocations: 4 kB / 0.5795 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.9214, allocations: 31.06 kB / 0.5795 GB, free: 36.57 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.9215, allocations: 35.28 kB / 0.5796 GB, free: 36.56 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.9237, allocations: 1.234 MB / 0.5808 GB, free: 36 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00931/0.933, allocations: 3.209 MB / 0.5839 GB, free: 34.23 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.9361, allocations: 1.833 MB / 0.5857 GB, free: 32.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.9372, allocations: 0.8892 MB / 0.5866 GB, free: 31.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/0.9373, allocations: 13 kB / 0.5866 GB, free: 31.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9373, allocations: 51.48 kB / 0.5866 GB, free: 31.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=118): time 4.278e-06/0.9373, allocations: 0 / 0.5866 GB, free: 31.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=118): time 0.003123/0.9404, allocations: 2.256 MB / 0.5888 GB, free: 29.54 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.9405, allocations: 68.41 kB / 0.5889 GB, free: 29.46 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.9411, allocations: 0.5016 MB / 0.5894 GB, free: 28.96 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.9412, allocations: 49.7 kB / 0.5894 GB, free: 28.9 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.9414, allocations: 273.4 kB / 0.5897 GB, free: 28.63 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.9418, allocations: 449.5 kB / 0.5901 GB, free: 28.18 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004333/0.9422, allocations: 275.5 kB / 0.5904 GB, free: 27.91 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.9423, allocations: 337.9 kB / 0.5907 GB, free: 27.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.9434, allocations: 0.8938 MB / 0.5916 GB, free: 26.68 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.9447, allocations: 1.075 MB / 0.5926 GB, free: 25.56 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.9468, allocations: 1.953 MB / 0.5945 GB, free: 23.57 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.9469, allocations: 0 / 0.5945 GB, free: 23.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003044/0.9499, allocations: 2.233 MB / 0.5967 GB, free: 21.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.95, allocations: 13.03 kB / 0.5967 GB, free: 21.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.95, allocations: 7.938 kB / 0.5967 GB, free: 21.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/0.95, allocations: 8 kB / 0.5967 GB, free: 21.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.9527, allocations: 483.3 kB / 0.5972 GB, free: 20.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.9528, allocations: 15.94 kB / 0.5972 GB, free: 20.81 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008757/0.9536, allocations: 186.8 kB / 0.5974 GB, free: 20.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.9537, allocations: 55.98 kB / 0.5974 GB, free: 20.57 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (184): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006277/0.9544, allocations: 341.4 kB / 0.5978 GB, free: 20.23 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.9546, allocations: 75.08 kB / 0.5978 GB, free: 20.15 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.9574, allocations: 1.867 MB / 0.5997 GB, free: 18.27 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.9574, allocations: 19.94 kB / 0.5997 GB, free: 18.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9574, allocations: 4 kB / 0.5997 GB, free: 18.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.9575, allocations: 7.969 kB / 0.5997 GB, free: 18.24 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.9591, allocations: 1.122 MB / 0.6008 GB, free: 17.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.9591, allocations: 0 / 0.6008 GB, free: 17.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/0.9613, allocations: 447.5 kB / 0.6012 GB, free: 16.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.9613, allocations: 7.938 kB / 0.6012 GB, free: 16.62 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.9615, allocations: 67.94 kB / 0.6013 GB, free: 16.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.9615, allocations: 7.984 kB / 0.6013 GB, free: 16.55 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9615, allocations: 0 / 0.6013 GB, free: 16.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/0.9652, allocations: 2.711 MB / 0.6039 GB, free: 13.82 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.9663, allocations: 327.8 kB / 0.6043 GB, free: 13.48 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.9666, allocations: 59.95 kB / 0.6043 GB, free: 13.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.9673, allocations: 91.86 kB / 0.6044 GB, free: 13.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.9675, allocations: 73.2 kB / 0.6045 GB, free: 13.26 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.9676, allocations: 39.92 kB / 0.6045 GB, free: 13.22 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0004636/0.9681, allocations: 347.1 kB / 0.6048 GB, free: 12.88 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9681, allocations: 0 / 0.6048 GB, free: 12.88 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001075/0.9692, allocations: 291.8 kB / 0.6051 GB, free: 12.6 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].err_p_int,generator[3].theta,generator[3].omega,generator[3].p,generator[3].q_ev,generator[3].y_t,generator[3].p_t_lp,generator[3].T_s[1],generator[3].T_s[2],generator[3].T_s[3],generator[3].T_s[4],generator[3].err_p_t_int,generator[3].err_p_int,generator[4].theta,generator[4].omega,generator[4].p,generator[4].q_ev,generator[4].y_t,generator[4].p_t_lp,generator[4].T_s[1],generator[4].T_s[2],generator[4].T_s[3],generator[4].T_s[4],generator[4].err_p_t_int,generator[4].err_p_int) * 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 (130): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004236/0.9734, allocations: 3.33 MB / 0.6084 GB, free: 9.246 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.9766, allocations: 1.885 MB / 0.6102 GB, free: 7.359 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9766, allocations: 0 / 0.6102 GB, free: 7.359 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.9777, allocations: 0.8622 MB / 0.6111 GB, free: 6.496 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.9785, allocations: 58.78 kB / 0.6111 GB, free: 6.434 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/1.001, allocations: 14.14 MB / 0.6249 GB, free: 8.039 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.003, allocations: 1.135 MB / 0.626 GB, free: 6.875 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001633/1.004, allocations: 0.5447 MB / 0.6266 GB, free: 6.324 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000728/1.005, allocations: 291.3 kB / 0.6268 GB, free: 6.039 MB / 478.3 MB Notification: Performance of SimCode: time 6.012e-06/1.005, allocations: 3.938 kB / 0.6268 GB, free: 6.035 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/1.052, allocations: 19.12 MB / 0.6455 GB, free: 3.133 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004035/1.053, allocations: 250.2 kB / 0.6458 GB, free: 2.883 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/4.554, allocations: 4 kB / 0.6458 GB, free: 2.879 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches