Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.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) 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DC_CompareCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DC_CompareCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2838, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics): time 0.01844/0.3022, allocations: 18.86 MB / 427.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.3131, allocations: 5.713 MB / 433.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.3165, allocations: 63.81 kB / 433.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004677/0.3212, allocations: 1.316 MB / 434.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005078/0.3263, allocations: 1.198 MB / 435.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.3284, allocations: 0.6749 MB / 436.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005976/0.3344, allocations: 3.938 MB / 440.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002953/0.3374, allocations: 1.588 MB / 442.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.3401, allocations: 1.471 MB / 443.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.3428, allocations: 1.579 MB / 445.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.3439, allocations: 379.9 kB / 445.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.3454, allocations: 404 kB / 445.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007139/0.3461, allocations: 0.7355 MB / 446.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002485/0.3486, allocations: 1.765 MB / 448.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.3543, allocations: 4.609 MB / 453 MB, free: 5.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3543, allocations: 0 / 453 MB, free: 5.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3543, allocations: 0 / 453 MB, free: 5.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001463/0.3545, allocations: 0 / 453 MB, free: 5.02 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: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.008102/0.3626, allocations: 3.339 MB / 456.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.3627, allocations: 15.97 kB / 456.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006782/0.3633, allocations: 351 kB / 456.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.3653, allocations: 487.7 kB / 457.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004728/0.3701, allocations: 1.731 MB / 458.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.3703, allocations: 193.2 kB / 459.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007277/0.3711, allocations: 267.8 kB / 459.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006471/0.3775, allocations: 2.466 MB / 461.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.3777, allocations: 15.91 kB / 461.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.3779, allocations: 108 kB / 462 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.378, allocations: 64 kB / 462 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/0.3817, allocations: 1.642 MB / 463.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.3973, allocations: 10.57 MB / 474.2 MB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.3988, allocations: 1.053 MB / 475.3 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.3994, allocations: 359.4 kB / 475.7 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.3994, allocations: 12.64 kB / 475.7 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3995, allocations: 47.22 kB / 475.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 3.046e-06/0.3995, allocations: 0 / 475.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=90): time 0.005483/0.405, allocations: 2.917 MB / 478.6 MB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.4051, allocations: 163.2 kB / 478.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.4082, allocations: 2.202 MB / 481 MB, free: 7.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.4082, allocations: 41.7 kB / 481 MB, free: 7.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.4093, allocations: 1.474 MB / 482.5 MB, free: 6.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.4096, allocations: 331.4 kB / 482.8 MB, free: 6.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000409/0.41, allocations: 331.1 kB / 483.2 MB, free: 5.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.4101, allocations: 301.1 kB / 483.4 MB, free: 5.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.4108, allocations: 376.7 kB / 483.8 MB, free: 5.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.4119, allocations: 1.231 MB / 485 MB, free: 3.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.4138, allocations: 1.722 MB / 486.8 MB, free: 1.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.4139, allocations: 12 kB / 486.8 MB, free: 1.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.002892/0.4168, allocations: 1.842 MB / 488.6 MB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.4168, allocations: 16 kB / 488.6 MB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.4168, allocations: 32 kB / 488.7 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/0.4174, allocations: 160 kB / 488.8 MB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.4185, allocations: 407.3 kB / 489.2 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/0.4225, allocations: 5.755 MB / 495 MB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.4241, allocations: 103.9 kB / 495.1 MB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4243, allocations: 88 kB / 495.2 MB, free: 8.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001394/0.4257, allocations: 0.7265 MB / 495.9 MB, free: 7.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001117/0.4268, allocations: 1.231 MB / 497.1 MB, free: 5.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001877/0.4287, allocations: 1.707 MB / 498.8 MB, free: 3.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-05/0.4287, allocations: 8 kB / 498.8 MB, free: 3.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.002972/0.4317, allocations: 1.811 MB / 0.4889 GB, free: 1.926 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.4317, allocations: 20 kB / 0.4889 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.4318, allocations: 32.09 kB / 0.489 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/0.4322, allocations: 151.4 kB / 0.4891 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4333, allocations: 411.2 kB / 0.4895 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004196/0.4375, allocations: 5.761 MB / 0.4951 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.4391, allocations: 91.86 kB / 0.4952 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.4392, allocations: 88 kB / 0.4953 GB, free: 10.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (223): * Single equations (assignments): 219 * 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%), (1,5,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004169/0.4397, allocations: 331.3 kB / 0.4956 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.4402, allocations: 233.2 kB / 0.4958 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.442, allocations: 0.9068 MB / 0.4967 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.442, allocations: 11.94 kB / 0.4967 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.442, allocations: 12.06 kB / 0.4967 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.4421, allocations: 7.984 kB / 0.4967 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005317/0.4474, allocations: 3.109 MB / 0.4998 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4474, allocations: 4 kB / 0.4998 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.448, allocations: 159.7 kB / 0.4999 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/0.4485, allocations: 123.9 kB / 0.5001 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.4485, allocations: 23.98 kB / 0.5001 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.4525, allocations: 5.714 MB / 0.5057 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.4525, allocations: 11.88 kB / 0.5057 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.4551, allocations: 1.48 MB / 0.5071 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.4564, allocations: 390.1 kB / 0.5075 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005923/0.457, allocations: 31.92 kB / 0.5075 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009773/0.4579, allocations: 55.91 kB / 0.5076 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.4581, allocations: 80.34 kB / 0.5077 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.4581, allocations: 28 kB / 0.5077 GB, free: 13.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002145/0.4603, allocations: 1.458 MB / 0.5091 GB, free: 11.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4603, allocations: 0 / 0.5091 GB, free: 11.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00295/0.4633, allocations: 0.9336 MB / 0.51 GB, free: 10.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (dcpm.inertiaRotor.w,loadInertia1.phi,dcee.inertiaRotor.w,loadInertia2.phi,dcse.inertiaRotor.w,loadInertia3.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 (82): * Single equations (assignments): 78 * 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%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002488/0.4658, allocations: 2.09 MB / 0.5121 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004147/0.4699, allocations: 2.708 MB / 0.5147 GB, free: 5.852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4699, allocations: 0.9375 kB / 0.5147 GB, free: 5.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.471, allocations: 0.8115 MB / 0.5155 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.4739, allocations: 0.5956 MB / 0.5161 GB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/0.498, allocations: 17.9 MB / 0.5336 GB, free: 1.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2055/0.7036, allocations: 1.561 MB / 0.5351 GB, free: 122.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001867/0.7055, allocations: 327.5 kB / 0.5354 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/0.7069, allocations: 1.059 MB / 0.5364 GB, free: 122.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7069, allocations: 0 / 0.5364 GB, free: 122.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.8089, allocations: 48.24 MB / 0.5835 GB, free: 84.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.66, allocations: 13.66 kB / 0.5835 GB, free: 84.27 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DC_CompareCharacteristics_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DC_CompareCharacteristics.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DC_CompareCharacteristics/DC_CompareCharacteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches