Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007556/0.0007554, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008868/0.0008868, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002423, allocations: 8 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1326, allocations: 63.55 MB / 483.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.00247/0.1351, allocations: 1.735 MB / 484.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1366, allocations: 0.9193 MB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.1367, allocations: 0 / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.137, allocations: 59.72 kB / 485.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.1373, allocations: 103.5 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1376, allocations: 79.75 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000574/0.1382, allocations: 0.5019 MB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.1383, allocations: 48.7 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.1385, allocations: 143.2 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.1388, allocations: 191.1 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.1388, allocations: 12 kB / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.1391, allocations: 151.7 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1392, allocations: 91.53 kB / 487.1 MB, free: 68 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1394, allocations: 176.6 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.1399, allocations: 418.5 kB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1399, allocations: 0 / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1399, allocations: 0 / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.14, allocations: 0 / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001103/0.1411, allocations: 0.589 MB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1411, allocations: 8.875 kB / 488.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.569e-05/0.1412, allocations: 40.47 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1416, allocations: 283.6 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.1417, allocations: 25.38 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.1418, allocations: 40.36 kB / 488.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.1427, allocations: 0.5688 MB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1428, allocations: 0 / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.1428, allocations: 12 kB / 489.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.489e-05/0.1429, allocations: 44.97 kB / 489.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.1439, allocations: 0.5816 MB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.1459, allocations: 1.175 MB / 491.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.1466, allocations: 381.2 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1469, allocations: 136.9 kB / 491.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.147, allocations: 19.91 kB / 491.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.147, allocations: 34.56 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 3.977e-06/0.147, allocations: 96 / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001025/0.148, allocations: 484.3 kB / 492.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1481, allocations: 55.41 kB / 492.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.1486, allocations: 453.6 kB / 492.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1486, allocations: 29.7 kB / 492.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1488, allocations: 188.4 kB / 492.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.714e-05/0.1489, allocations: 78.83 kB / 492.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1489, allocations: 21.72 kB / 492.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1491, allocations: 354.8 kB / 493.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1493, allocations: 123.8 kB / 493.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.1496, allocations: 123.9 kB / 493.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.1501, allocations: 276.6 kB / 493.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1501, allocations: 0 / 493.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006434/0.1508, allocations: 360.5 kB / 494.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1508, allocations: 4 kB / 494.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1508, allocations: 4 kB / 494.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1508, allocations: 3.938 kB / 494.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.1516, allocations: 159.9 kB / 494.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.1548, allocations: 5.524 MB / 499.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.155, allocations: 55.39 kB / 499.9 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1551, allocations: 8 kB / 499.9 MB, free: 2.879 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.1553, allocations: 201.8 kB / 0.4884 GB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.1554, allocations: 31.62 kB / 0.4884 GB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009358/0.1563, allocations: 464.4 kB / 0.4888 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1563, allocations: 4 kB / 0.4888 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1564, allocations: 4 kB / 0.4888 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1564, allocations: 0 / 0.4888 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.1569, allocations: 377.2 kB / 0.4892 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1569, allocations: 0 / 0.4892 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/0.1576, allocations: 159.8 kB / 0.4893 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1576, allocations: 0 / 0.4893 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.1576, allocations: 12 kB / 0.4894 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.1606, allocations: 5.512 MB / 0.4947 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1606, allocations: 4.031 kB / 0.4947 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.1613, allocations: 462.9 kB / 0.4952 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1615, allocations: 116.6 kB / 0.4953 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.1615, allocations: 7.984 kB / 0.4953 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1617, allocations: 16 kB / 0.4953 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.1618, allocations: 15.97 kB / 0.4953 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.1619, allocations: 19.92 kB / 0.4954 GB, free: 11.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003563/0.1622, allocations: 335.1 kB / 0.4957 GB, free: 10.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1622, allocations: 0 / 0.4957 GB, free: 10.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.1626, allocations: 99.94 kB / 0.4958 GB, free: 10.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002498/0.1629, allocations: 135.1 kB / 0.4959 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1641, allocations: 422.5 kB / 0.4963 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1641, allocations: 0 / 0.4963 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008232/0.1649, allocations: 287.7 kB / 0.4966 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.1654, allocations: 85.42 kB / 0.4967 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1668, allocations: 0.9093 MB / 0.4975 GB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.1672, allocations: 0.8503 MB / 0.4984 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.1674, allocations: 87.22 kB / 0.4985 GB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.1675, allocations: 27.42 kB / 0.4985 GB, free: 7.938 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1675, allocations: 3.938 kB / 0.4985 GB, free: 7.934 MB / 382.1 MB Notification: Performance of Templates: time 0.01201/0.1796, allocations: 6.851 MB / 0.5052 GB, free: 1.168 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches