Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 101 kB / 17.58 MB, free: 5.418 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.001128/0.001128, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.14 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08228/0.08356, allocations: 46.64 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01183/0.09543, allocations: 10.97 MB / 338.3 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.1023, allocations: 3.538 MB / 341.8 MB, free: 5.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.1042, allocations: 39.88 kB / 341.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007366/0.1116, allocations: 8.144 MB / 350 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006155/0.1178, allocations: 4.616 MB / 354.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.1202, allocations: 0.9323 MB / 355.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005831/0.126, allocations: 5.293 MB / 360.8 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.1275, allocations: 0.8906 MB / 361.7 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.1313, allocations: 2.856 MB / 364.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005756/0.1371, allocations: 5.127 MB / 369.7 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.1384, allocations: 348 kB / 370 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.1401, allocations: 388 kB / 370.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.1419, allocations: 1.873 MB / 372.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003437/0.1453, allocations: 2.784 MB / 375.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1498/0.2951, allocations: 7.141 MB / 382.2 MB, free: 34.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2952, allocations: 0 / 382.2 MB, free: 34.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2952, allocations: 1.375 kB / 382.2 MB, free: 34.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001962/0.2954, allocations: 0 / 382.2 MB, free: 34.96 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01351/0.3089, allocations: 7.649 MB / 389.9 MB, free: 30.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3089, allocations: 8.969 kB / 389.9 MB, free: 30.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.3102, allocations: 0.8447 MB / 390.7 MB, free: 30.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.3138, allocations: 3.152 MB / 393.9 MB, free: 29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3139, allocations: 157.6 kB / 394 MB, free: 28.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.3142, allocations: 206 kB / 394.2 MB, free: 28.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/0.318, allocations: 2.113 MB / 396.3 MB, free: 28.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.3181, allocations: 9.078 kB / 396.3 MB, free: 28.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.3183, allocations: 84.34 kB / 396.4 MB, free: 28.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.3183, allocations: 50.56 kB / 396.5 MB, free: 28.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.3217, allocations: 1.896 MB / 398.4 MB, free: 28.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.3348, allocations: 8.945 MB / 407.3 MB, free: 22.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.338, allocations: 2.333 MB / 409.7 MB, free: 21.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.3402, allocations: 1.379 MB / 411 MB, free: 20.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.3403, allocations: 45.17 kB / 411.1 MB, free: 20.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.3421, allocations: 1.159 MB / 412.2 MB, free: 19.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=242): time 4.448e-06/0.3421, allocations: 3.984 kB / 412.2 MB, free: 19.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=367): time 0.05949/0.4016, allocations: 22.81 MB / 435.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02748/0.4291, allocations: 13.63 MB / 448.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01633/0.4455, allocations: 14.9 MB / 463.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007969/0.4463, allocations: 85.7 kB / 463.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003536/0.4499, allocations: 3.732 MB / 467.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001758/0.4517, allocations: 1.206 MB / 468.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.4527, allocations: 0.5155 MB / 469.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.4528, allocations: 305.1 kB / 469.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.4553, allocations: 1.256 MB / 470.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.4579, allocations: 1.619 MB / 472.3 MB, free: 6.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005049/0.463, allocations: 2.995 MB / 475.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.463, allocations: 0 / 475.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01106/0.4741, allocations: 5.207 MB / 480.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4741, allocations: 8 kB / 480.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4742, allocations: 4 kB / 480.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005374/0.4795, allocations: 1.408 MB / 481.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.4824, allocations: 0.5383 MB / 482.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02791/0.5103, allocations: 23.98 MB / 0.4946 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/0.5146, allocations: 135.8 kB / 0.4947 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005655/0.5152, allocations: 112 kB / 0.4948 GB, free: 3.461 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.003449/0.5187, allocations: 2.182 MB / 0.4969 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/0.5201, allocations: 0.8136 MB / 0.4977 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.5312, allocations: 5.225 MB / 0.5028 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/0.5313, allocations: 36 kB / 0.5029 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.5313, allocations: 8 kB / 0.5029 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.279e-05/0.5313, allocations: 19.94 kB / 0.5029 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/0.5508, allocations: 11.08 MB / 0.5137 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.5508, allocations: 0 / 0.5137 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/0.5531, allocations: 463.1 kB / 0.5141 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005119/0.5583, allocations: 1.349 MB / 0.5155 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/0.5585, allocations: 71.97 kB / 0.5155 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1784/0.7369, allocations: 21.85 MB / 0.5369 GB, free: 143.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02177/0.7587, allocations: 11.94 MB / 0.5485 GB, free: 136.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/0.7711, allocations: 6.95 MB / 0.5553 GB, free: 134 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.7727, allocations: 0.7484 MB / 0.5561 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006749/0.7734, allocations: 72.25 kB / 0.5561 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/0.7754, allocations: 118 kB / 0.5562 GB, free: 133.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006403/0.7761, allocations: 266.3 kB / 0.5565 GB, free: 133.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.7763, allocations: 95.31 kB / 0.5566 GB, free: 133.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.008815/0.7851, allocations: 11.12 MB / 0.5674 GB, free: 125.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7851, allocations: 4 kB / 0.5674 GB, free: 125.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004104/0.7892, allocations: 1.07 MB / 0.5685 GB, free: 124.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.7904, allocations: 0.4961 MB / 0.569 GB, free: 124.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01049/0.8009, allocations: 4.925 MB / 0.5738 GB, free: 119.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.8009, allocations: 0 / 0.5738 GB, free: 119.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0042/0.8052, allocations: 3.294 MB / 0.577 GB, free: 115.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/0.8085, allocations: 0.5464 MB / 0.5775 GB, free: 115.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.8282, allocations: 18.08 MB / 0.5952 GB, free: 97.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/0.8314, allocations: 4.01 MB / 0.5991 GB, free: 93.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001991/0.8334, allocations: 309.2 kB / 0.5994 GB, free: 92.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/0.834, allocations: 175.4 kB / 0.5996 GB, free: 92.78 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8341, allocations: 0.9844 kB / 0.5996 GB, free: 92.78 MB / 430.1 MB Notification: Performance of Templates: time 0.1477/0.9817, allocations: 65.36 MB / 0.6634 GB, free: 27.31 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches