Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.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) 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: translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009003/0.0009003, allocations: 92.36 kB / 17.31 MB, free: 6.539 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.0009849/0.000985, allocations: 172.7 kB / 18.21 MB, free: 5.68 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.266/1.266, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002261/0.0002261, allocations: 11.94 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07233/0.07258, allocations: 50.41 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01218/0.08478, allocations: 12.83 MB / 365.3 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008/0.09279, allocations: 5.089 MB / 370.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.09439, allocations: 75.62 kB / 370.5 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.09634, allocations: 0.804 MB / 371.3 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1314/0.2278, allocations: 1.009 MB / 372.3 MB, free: 10.44 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.23, allocations: 0.8719 MB / 373.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004729/0.2347, allocations: 4.438 MB / 377.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.2379, allocations: 2.636 MB / 380.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.2401, allocations: 1.365 MB / 381.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.2435, allocations: 1.878 MB / 383.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008736/0.2444, allocations: 203.1 kB / 383.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.2461, allocations: 494.2 kB / 384.2 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.2474, allocations: 0.9795 MB / 385.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002563/0.25, allocations: 1.834 MB / 387 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003971/0.2539, allocations: 6.08 MB / 393.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.254, allocations: 0 / 393.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.254, allocations: 0 / 393.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.282e-05/0.254, allocations: 1.438 kB / 393.1 MB, free: 4.426 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.006323/0.2604, allocations: 3.657 MB / 396.7 MB, free: 2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2604, allocations: 8.312 kB / 396.7 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.2615, allocations: 454.1 kB / 397.2 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.2644, allocations: 2.402 MB / 399.6 MB, free: 48 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006875/0.2651, allocations: 424.7 kB / 400 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004564/0.2655, allocations: 316.4 kB / 400.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006736/0.2723, allocations: 4.279 MB / 404.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.658e-05/0.2724, allocations: 11.91 kB / 404.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.2727, allocations: 134.9 kB / 404.7 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.2728, allocations: 150.1 kB / 404.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006577/0.2794, allocations: 3.873 MB / 408.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/0.298, allocations: 14.22 MB / 423 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.3013, allocations: 2.174 MB / 425.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.3035, allocations: 1.314 MB / 426.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.3038, allocations: 218.1 kB / 426.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0022/0.306, allocations: 1.326 MB / 428 MB, free: 4.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 3.196e-06/0.3061, allocations: 0 / 428 MB, free: 4.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.02962/0.3357, allocations: 13.07 MB / 441.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003666/0.3394, allocations: 3.261 MB / 444.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.3426, allocations: 2.287 MB / 446.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.3428, allocations: 78.36 kB / 446.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.344, allocations: 1.495 MB / 448.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006209/0.3447, allocations: 0.789 MB / 449 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.345, allocations: 211.1 kB / 449.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.3451, allocations: 305.1 kB / 449.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.3473, allocations: 1.298 MB / 450.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/0.35, allocations: 1.952 MB / 452.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004851/0.3548, allocations: 3.326 MB / 456 MB, free: 7.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.3548, allocations: 4 kB / 456.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006409/0.3613, allocations: 3.908 MB / 460 MB, free: 3.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3613, allocations: 12 kB / 460 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.3613, allocations: 16 kB / 460 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.3626, allocations: 0.5034 MB / 460.5 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.3651, allocations: 0.663 MB / 461.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.3704, allocations: 4.66 MB / 465.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.3723, allocations: 199.8 kB / 466 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.3725, allocations: 112 kB / 466.1 MB, free: 12.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,motor.uniformNoise.actualGlobalSeed,motor.uniformNoise.localSeed,gearbox.lossyGear.ideal,gearbox.lossyGear.mode,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.locked,gearbox.lossyGear.startBackward,gearbox.lossyGear.startForward,gearbox.lossyGear.tau_aPos,motor.uniformNoise.r_raw,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r,$PRE.motor.uniformNoise.r,motor.uniformNoise.state[4],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 303 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001632/0.3741, allocations: 1.085 MB / 467.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.3745, allocations: 256.8 kB / 467.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006674/0.3812, allocations: 3.686 MB / 471.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.3812, allocations: 24 kB / 471.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3812, allocations: 0 / 471.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.3813, allocations: 11.95 kB / 471.2 MB, free: 7.832 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.3959, allocations: 9.431 MB / 480.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.396, allocations: 0 / 480.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/0.3978, allocations: 427.6 kB / 481 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.3995, allocations: 0.6355 MB / 481.7 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.3996, allocations: 55.97 kB / 481.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008382/0.408, allocations: 7.486 MB / 489.2 MB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003305/0.4113, allocations: 3.031 MB / 492.2 MB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008778/0.4201, allocations: 5.44 MB / 497.7 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.4212, allocations: 0.6382 MB / 498.3 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.4215, allocations: 48 kB / 498.4 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.423, allocations: 163.8 kB / 498.5 MB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003814/0.4234, allocations: 193.7 kB / 498.7 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.4236, allocations: 59.97 kB / 498.8 MB, free: 11.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002201/0.4258, allocations: 1.567 MB / 0.4886 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4258, allocations: 0 / 0.4886 GB, free: 9.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002156/0.4279, allocations: 0.7734 MB / 0.4894 GB, free: 9.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 12 ($whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006978/0.4286, allocations: 357.6 kB / 0.4897 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005673/0.4343, allocations: 3.714 MB / 0.4933 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4343, allocations: 4 kB / 0.4933 GB, free: 5.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003514/0.4379, allocations: 2.278 MB / 0.4956 GB, free: 2.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.441, allocations: 0.6001 MB / 0.4961 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.4574, allocations: 8.904 MB / 0.5048 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003251/0.4607, allocations: 2.365 MB / 0.5071 GB, free: 6.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.4621, allocations: 215.4 kB / 0.5074 GB, free: 6.562 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4621, allocations: 0 / 0.5074 GB, free: 6.562 MB / 430.1 MB Notification: Performance of Templates: time 0.2587/0.7208, allocations: 114.9 MB / 0.6196 GB, free: 71.43 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ActuatorWithNoise/ActuatorWithNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches