Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.125/1.125, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008755/0.0008754, allocations: 96.2 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 43.94 kB / 327.2 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2119, allocations: 46.61 MB / 373.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02184/0.2338, allocations: 32.38 MB / 406.2 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.2468, allocations: 8.887 MB / 415.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004735/0.2516, allocations: 195.2 kB / 415.3 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.2643, allocations: 7.465 MB / 422.8 MB, free: 444 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009813/0.2742, allocations: 3.396 MB / 426.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005075/0.2793, allocations: 1.992 MB / 428.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01434/0.2936, allocations: 13.73 MB / 441.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02444/0.3181, allocations: 18.26 MB / 460.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007011/0.3251, allocations: 5.553 MB / 465.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009155/0.3343, allocations: 6.881 MB / 472.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002882/0.3372, allocations: 1.156 MB / 473.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/0.3418, allocations: 1.515 MB / 475.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003573/0.3454, allocations: 3.041 MB / 478.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007462/0.3529, allocations: 6.402 MB / 484.7 MB, free: 2.215 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2872/0.6401, allocations: 24.42 MB / 0.4972 GB, free: 43.32 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6401, allocations: 0 / 0.4972 GB, free: 43.32 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6401, allocations: 0 / 0.4972 GB, free: 43.32 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.000462/0.6406, allocations: 2.406 kB / 0.4972 GB, free: 43.32 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.03377/0.6744, allocations: 14.8 MB / 0.5116 GB, free: 39.5 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6744, allocations: 9.281 kB / 0.5117 GB, free: 39.5 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03704/0.7115, allocations: 7.739 MB / 0.5192 GB, free: 36.55 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/0.7256, allocations: 7.272 MB / 0.5263 GB, free: 34.56 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004192/0.726, allocations: 0.8038 MB / 0.5271 GB, free: 34.54 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.7287, allocations: 1.066 MB / 0.5281 GB, free: 34.52 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/0.7571, allocations: 17.68 MB / 0.5454 GB, free: 18.14 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003114/0.7574, allocations: 19.27 kB / 0.5454 GB, free: 18.12 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002286/0.7597, allocations: 451.9 kB / 0.5459 GB, free: 17.7 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005022/0.7603, allocations: 0.6553 MB / 0.5465 GB, free: 17.04 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02573/0.786, allocations: 16.97 MB / 0.5631 GB, free: 44 kB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0934/0.8794, allocations: 57.15 MB / 0.6189 GB, free: 6.547 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03295/0.9124, allocations: 40.06 MB / 0.658 GB, free: 9.527 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007141/0.9196, allocations: 4.508 MB / 0.6624 GB, free: 5.027 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1648/1.084, allocations: 12.7 MB / 0.6748 GB, free: 186.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/1.084, allocations: 80.94 kB / 0.6749 GB, free: 186.1 MB / 490.8 MB Notification: Performance of pre-optimization done (n=398): time 5.851e-06/1.084, allocations: 2.406 kB / 0.6749 GB, free: 186.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=423): time 0.03547/1.12, allocations: 21.45 MB / 0.6958 GB, free: 176.6 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.12, allocations: 119.9 kB / 0.696 GB, free: 176.5 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/1.125, allocations: 4.824 MB / 0.7007 GB, free: 174.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/1.125, allocations: 93.33 kB / 0.7008 GB, free: 174.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.127, allocations: 4.8 MB / 0.7054 GB, free: 171 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007548/1.128, allocations: 1.455 MB / 0.7069 GB, free: 169.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/1.129, allocations: 1.196 MB / 0.708 GB, free: 169.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.297e-05/1.129, allocations: 305.1 kB / 0.7083 GB, free: 169 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/1.132, allocations: 2.962 MB / 0.7112 GB, free: 167.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/1.136, allocations: 5.239 MB / 0.7163 GB, free: 161.9 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007229/1.144, allocations: 8.718 MB / 0.7248 GB, free: 152.8 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/1.144, allocations: 31.19 kB / 0.7249 GB, free: 152.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01231/1.156, allocations: 10.03 MB / 0.7347 GB, free: 143.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/1.156, allocations: 36 kB / 0.7347 GB, free: 143.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.396e-05/1.156, allocations: 79.94 kB / 0.7348 GB, free: 143.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/1.16, allocations: 1.67 MB / 0.7364 GB, free: 142 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/1.164, allocations: 1.396 MB / 0.7378 GB, free: 140.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.179, allocations: 16.49 MB / 0.7539 GB, free: 123.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/1.183, allocations: 339.7 kB / 0.7542 GB, free: 123.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003586/1.184, allocations: 308 kB / 0.7545 GB, free: 123 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004323/1.188, allocations: 3.948 MB / 0.7584 GB, free: 119.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006865/1.189, allocations: 0.4978 MB / 0.7588 GB, free: 118.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.199, allocations: 7.8 MB / 0.7665 GB, free: 110.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/1.199, allocations: 48 kB / 0.7665 GB, free: 110.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.199, allocations: 16 kB / 0.7665 GB, free: 110.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/1.199, allocations: 23.91 kB / 0.7665 GB, free: 110.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/1.22, allocations: 17.54 MB / 0.7837 GB, free: 92.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.22, allocations: 4 kB / 0.7837 GB, free: 92.88 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/1.222, allocations: 0.7262 MB / 0.7844 GB, free: 92.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/1.226, allocations: 1.561 MB / 0.7859 GB, free: 90.57 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/1.226, allocations: 99.97 kB / 0.786 GB, free: 90.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/1.242, allocations: 19.52 MB / 0.8051 GB, free: 70.06 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.242, allocations: 4 kB / 0.8051 GB, free: 70.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2235/1.466, allocations: 57.74 MB / 0.8615 GB, free: 162.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002737/1.468, allocations: 1.154 MB / 0.8626 GB, free: 162.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006477/1.469, allocations: 86.59 kB / 0.8627 GB, free: 162.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.471, allocations: 231.1 kB / 0.8629 GB, free: 162.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007036/1.472, allocations: 332.9 kB / 0.8632 GB, free: 162.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.472, allocations: 129.9 kB / 0.8633 GB, free: 162.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003961/1.476, allocations: 3.251 MB / 0.8665 GB, free: 162 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.51e-07/1.476, allocations: 2.156 kB / 0.8665 GB, free: 162 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006784/1.483, allocations: 2.392 MB / 0.8688 GB, free: 162 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005527/1.484, allocations: 269.1 kB / 0.8691 GB, free: 161.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01073/1.494, allocations: 8.224 MB / 0.8771 GB, free: 161.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.494, allocations: 3 kB / 0.8771 GB, free: 161.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005801/1.5, allocations: 4.651 MB / 0.8817 GB, free: 158.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/1.505, allocations: 1.236 MB / 0.8829 GB, free: 158.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03074/1.536, allocations: 28.52 MB / 0.9107 GB, free: 139.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005807/1.542, allocations: 6.995 MB / 0.9176 GB, free: 134.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005107/1.547, allocations: 1.945 MB / 0.9195 GB, free: 132.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.548, allocations: 386.5 kB / 0.9198 GB, free: 132.6 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/1.548, allocations: 1.203 kB / 0.9198 GB, free: 132.6 MB / 490.8 MB Notification: Performance of Templates: time 0.111/1.659, allocations: 96.41 MB / 1.014 GB, free: 39.78 MB / 490.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches